Suppressing 404 page in nav header

This commit is contained in:
Holger Reinhardt 2016-02-03 11:11:48 +01:00
parent 95e5984771
commit bc99baea41

View file

@ -23,7 +23,8 @@
<!-- suppress all category and tag meta pages -->
{% if page.url contains '/meta/' %}
{% else %}
{% if page.url != '/404.html' %}
{% if page.url contains '404.html' %}
<%else %>
<li>
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
</li>