Simpler navigation
This commit is contained in:
parent
300465e563
commit
ec693f52ec
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue