48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
{% set activePage = page.url | url %}
|
|
|
|
<footer class="site-foot" role="contentinfo">
|
|
<div class="wrapper">
|
|
<div class="site-foot__inner">
|
|
<nav id="footernav" class="site-foot__inner text-step-0" aria-label="Footer">
|
|
|
|
© {% year %} <a href="/" {% if activePage === '/' %} aria-current="page" {% endif %}>{{ meta.siteName }} <small>{% packageVersion %}</small> </a>
|
|
|
|
{% for item in navigation.bottom %}
|
|
|
|
<a
|
|
href="{{ item.url }}"
|
|
{{
|
|
helpers.getLinkActiveState(item.url,
|
|
page.url)
|
|
|
|
|
safe
|
|
}}
|
|
>{{ item.text }}</a
|
|
>
|
|
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
<nav id="social" class="site-foot__inner" aria-label="Social links">
|
|
{% for item in social %}
|
|
|
|
{% if item.platform == "rss" %}
|
|
<a href="{{ meta.url }}/{{ locale }}{{ item.url }}" rel="alternate" type="application/rss+xml">
|
|
{% else %}
|
|
<a href="{{ item.url }}" rel="me">
|
|
{% endif %}
|
|
<span class="sr-only">{{ item.platform }}</span>
|
|
<div aria-hidden="true">{% include 'icons/social-' + item.icon %}</div>
|
|
</a
|
|
>
|
|
{% endfor %}
|
|
|
|
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- lang menu -->
|
|
</footer>
|
|
|
|
|