Allow breadcrumbs to be enabled with non-Jekyll Archives plugin

This commit is contained in:
Michael Rose 2016-04-07 16:05:17 -04:00
parent 461a1348c0
commit 1e53e7fca2
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ layout: default
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs and site.categories.type == "jekyll-archives" %}
{% if page.url != "/" and site.breadcrumbs %}
{% include breadcrumbs.html %}
{% endif %}

View file

@ -8,7 +8,7 @@ layout: default
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs and site.categories.type == "jekyll-archives" %}
{% if page.url != "/" and site.breadcrumbs %}
{% include breadcrumbs.html %}
{% endif %}