rename to platform(s), to be more general
|
|
@ -42,14 +42,14 @@ module.exports = {
|
|||
navigation: {
|
||||
ariaTop: 'Main',
|
||||
ariaBottom: 'Complementary',
|
||||
ariaSocial: 'Social',
|
||||
ariaPlatforms: 'Platforms',
|
||||
closedText: 'Menu'
|
||||
},
|
||||
themeSwitch: {
|
||||
title: 'Theme',
|
||||
light: 'light',
|
||||
dark: 'dark',
|
||||
initial: 'select'
|
||||
initial: 'select'
|
||||
},
|
||||
greenweb: {
|
||||
// this goues into src/common/greenweb.njk
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ address: |-
|
|||
Your street
|
||||
12345, city
|
||||
Tel: +34 928231911
|
||||
social:
|
||||
platforms:
|
||||
github: 'https://github.com/madrilene/eleventy-excellent'
|
||||
mastodon: 'https://front-end.social/@lene'
|
||||
bluesky: 'https://bsky.app/profile/lenesaile.com'
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
<nav class="site-foot__inner" aria-label="{{ meta.navigation.ariaSocial }}">
|
||||
<nav class="site-foot__inner" aria-label="{{ meta.navigation.ariaPlatforms }}">
|
||||
|
||||
<!-- gets the first item from the feed loop set in meta -->
|
||||
<a href="{{ meta.blog.feedLinks[0].url }}" rel="alternate" type="{{ meta.blog.feedLinks[0].type }}">
|
||||
|
|
@ -26,12 +26,12 @@
|
|||
<div aria-hidden="true">{% include 'svg/rss.svg' %}</div>
|
||||
</a>
|
||||
|
||||
{% for key, value in personal.social %}
|
||||
{% for key, value in personal.platforms %}
|
||||
{% if value != "" %}
|
||||
<!-- regular social networks -->
|
||||
<!-- regular platforms -->
|
||||
<a href="{{ value }}" rel="me">
|
||||
<span class="visually-hidden">{{ key | capitalize }}</span>
|
||||
<div aria-hidden="true">{% include 'svg/social-' + key + '.svg' %}</div>
|
||||
<div aria-hidden="true">{% include 'svg/platform-' + key + '.svg' %}</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 780 B After Width: | Height: | Size: 780 B |
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 861 B After Width: | Height: | Size: 861 B |
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 994 B |
|
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 544 B |