From 1e53e7fca2fad6e4b8386fc0c21751709abec895 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 7 Apr 2016 16:05:17 -0400 Subject: [PATCH] Allow breadcrumbs to be enabled with non-Jekyll Archives plugin --- _layouts/archive.html | 2 +- _layouts/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/archive.html b/_layouts/archive.html index 0c86d19e..05420834 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -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 %} diff --git a/_layouts/single.html b/_layouts/single.html index 1540c2e6..d24688aa 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -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 %}