Make sure breadcrumbs, tag lists, and category lists only display when enabled
This commit is contained in:
parent
a08934bbe3
commit
0b7f243aeb
2 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
|
@ -30,7 +30,7 @@ layout: compress
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if site.breadcrumbs %}
|
||||
{% if site.breadcrumbs and site.categories.type %}
|
||||
{% include breadcrumbs.html %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue