Correct links according to jekyll norm

This commit is contained in:
Quentin Dufour 2015-11-06 15:43:19 +01:00
parent 90086572e0
commit 009e584805
1 changed files with 3 additions and 3 deletions

View File

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