Browse Source

Fixed header.

dev
Franco Masotti 8 months ago
parent
commit
0c4b44e66f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 7
      _includes/header.html

7
_includes/header.html

@ -4,11 +4,12 @@
{% if page.permalink != '/sitemap/' %}
<li><a href="{{ site.baseurl }}/sitemap/">Sitemap</a></li>
{% endif %}
{% if page.permalink == 'index.html' or page.url == '/' %}
<li><a href="{{ site.baseurl }}/about">About</a></li>
{% else %}
{% if page.permalink != 'index.html' and page.url != '/' %}
<li><a href="{{ site.baseurl }}/">Home</a></li>
{% endif %}
{% if page.permalink != '/about/' %}
<li><a href="{{ site.baseurl }}/about">About</a></li>
{% endif %}
{% if page.permalink != '/software/' %}
<li><a href="{{ site.baseurl }}/software">Software</a></li>
{% endif %}

Loading…
Cancel
Save