Suppressing 404 page in nav header
This commit is contained in:
parent
95e5984771
commit
bc99baea41
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue