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 -->
|
<!-- suppress all category and tag meta pages -->
|
||||||
{% if page.url contains '/meta/' %}
|
{% if page.url contains '/meta/' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if page.url != '/404.html' %}
|
{% if page.url contains '404.html' %}
|
||||||
|
<%else %>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue