suppressing tag and category meta pages

This commit is contained in:
Holger Reinhardt 2016-01-30 22:10:13 +01:00
parent 30b313a72c
commit eea739c226
6 changed files with 9 additions and 4 deletions

View File

@ -18,13 +18,19 @@
<li>
<a href="{{ site.baseurl }}/">Home</a>
</li>
{% for page in site.pages %}{% if page.title %}
{% for page in site.pages %}
{% if page.title %}
<!-- suppress all category and tag meta pages -->
{% if page.url contains '/meta/'}
{% else %}
{% if page.url != '/404.html' %}
<li>
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
</li>
{% endif %}
{% endif %}{% endfor %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
<!-- /.navbar-collapse -->

View File

@ -1,6 +1,5 @@
---
layout: page
description: "A Clean Blog Theme by Start Bootstrap"
---
{% for post in paginator.posts %}