Simpler navigation

This commit is contained in:
Quentin Dufour 2018-11-17 20:52:41 +01:00
parent 300465e563
commit ec693f52ec

View file

@ -1,12 +1,12 @@
<nav class="main-nav">
{% if page.url != "/index.html" and page.url != "/"%}
<a href='{{ site.url }}/{{ page.about }}'> <span class="arrow"></span> Blog </a>
<a href='/'> <span class="arrow"></span> Blog </a>
{% endif %}
{% if page.url != "/about/" %}
{% if site.aboutPage %}
<a href='{{ site.url }}/about'>À propos </a>
<a href='/about'>À propos </a>
{% endif %}
{% endif %}
<a class="cta" href="{{ site.url }}/feed.xml">Flux RSS</a>
<a class="cta" href="/feed.xml">Flux RSS</a>
</nav>