Make sure breadcrumbs, tag lists, and category lists only display when enabled

This commit is contained in:
Michael Rose 2016-03-11 16:17:20 -05:00
parent a08934bbe3
commit 0b7f243aeb
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{% if page.tags[0] %}
{% if site.tags.type and page.tags[0] %}
{% include tag-list.html %}
{% endif %}
{% if page.categories[0] %}
{% if site.categories.type and page.categories[0] %}
{% include category-list.html %}
{% endif %}

View file

@ -30,7 +30,7 @@ layout: compress
</div>
{% endif %}
{% if site.breadcrumbs %}
{% if site.breadcrumbs and site.categories.type %}
{% include breadcrumbs.html %}
{% endif %}