suppressing tag and category meta pages
This commit is contained in:
parent
30b313a72c
commit
eea739c226
|
@ -18,13 +18,19 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ site.baseurl }}/">Home</a>
|
<a href="{{ site.baseurl }}/">Home</a>
|
||||||
</li>
|
</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' %}
|
{% if page.url != '/404.html' %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}{% endfor %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.navbar-collapse -->
|
<!-- /.navbar-collapse -->
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
description: "A Clean Blog Theme by Start Bootstrap"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% for post in paginator.posts %}
|
{% for post in paginator.posts %}
|
||||||
|
|
Loading…
Reference in a new issue