rename to platform(s), to be more general
|
|
@ -42,14 +42,14 @@ module.exports = {
|
||||||
navigation: {
|
navigation: {
|
||||||
ariaTop: 'Main',
|
ariaTop: 'Main',
|
||||||
ariaBottom: 'Complementary',
|
ariaBottom: 'Complementary',
|
||||||
ariaSocial: 'Social',
|
ariaPlatforms: 'Platforms',
|
||||||
closedText: 'Menu'
|
closedText: 'Menu'
|
||||||
},
|
},
|
||||||
themeSwitch: {
|
themeSwitch: {
|
||||||
title: 'Theme',
|
title: 'Theme',
|
||||||
light: 'light',
|
light: 'light',
|
||||||
dark: 'dark',
|
dark: 'dark',
|
||||||
initial: 'select'
|
initial: 'select'
|
||||||
},
|
},
|
||||||
greenweb: {
|
greenweb: {
|
||||||
// this goues into src/common/greenweb.njk
|
// this goues into src/common/greenweb.njk
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ address: |-
|
||||||
Your street
|
Your street
|
||||||
12345, city
|
12345, city
|
||||||
Tel: +34 928231911
|
Tel: +34 928231911
|
||||||
social:
|
platforms:
|
||||||
github: 'https://github.com/madrilene/eleventy-excellent'
|
github: 'https://github.com/madrilene/eleventy-excellent'
|
||||||
mastodon: 'https://front-end.social/@lene'
|
mastodon: 'https://front-end.social/@lene'
|
||||||
bluesky: 'https://bsky.app/profile/lenesaile.com'
|
bluesky: 'https://bsky.app/profile/lenesaile.com'
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</nav>
|
</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 -->
|
<!-- 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 }}">
|
<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>
|
<div aria-hidden="true">{% include 'svg/rss.svg' %}</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% for key, value in personal.social %}
|
{% for key, value in personal.platforms %}
|
||||||
{% if value != "" %}
|
{% if value != "" %}
|
||||||
<!-- regular social networks -->
|
<!-- regular platforms -->
|
||||||
<a href="{{ value }}" rel="me">
|
<a href="{{ value }}" rel="me">
|
||||||
<span class="visually-hidden">{{ key | capitalize }}</span>
|
<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>
|
</a>
|
||||||
{% endif %}
|
{% 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 |