home link in footer when not on home

This commit is contained in:
sakrecoer 2020-07-06 12:32:46 +02:00
parent 76f8410c82
commit 76efea80ad

View file

@ -9,10 +9,10 @@
<div>
<ul>
{% if page.url != '/' %}
<li><a href="{{ relBase }}/" class="button small">{{ site.data.translations[page.lang].home }}</a></li>
<li><a href="{{ relBase }}/">{{ site.data.translations[page.lang].home }}</a></li>
{% endif %}
{% for entry in site.data.navigation %}
<li><a href="{{ entry.url }}" class="smooth-scroll-middle">{{ entry.name }}</a></li>
<li><a href="{{ entry.url }}">{{ entry.name }}</a></li>
{% endfor %}
</ul>
</div>
@ -20,10 +20,10 @@
</div>
<div class="inner">
<ul class="icons">
{% for nw in site.data.social %}
{% if nw.we_have_account == true %}
<li><a target="_blank" alt="{{ site.title }} on {{ nw.name }}" title="{{ site.title }} on {{ nw.name }}" rel="noopener nofollow" href="{{ nw.url }}" class="icon brands style2 {{ nw.icon }}"><span class="label">{{ nw.name }}</span></a></li>
{% endif %}
{% for nw in site.data.stores %}
<li><a target="_blank" alt="{{ site.title }} on {{ nw.name }}" title="{{ site.title }} on {{ nw.name }}" rel="noopener" href="{{ nw.url }}" class="icon brands style2 {{ nw.icon }}"><span class="label">{{ nw.name }}</span></a></li>
{% endfor %}
<!-- <li><a href="mailto:{{ site.author.email }}" class="icon style2 fa-envelope"><span class="label">Email</span></a></li> -->
</ul>