From 7fa159a9a2e1ab2462beb6c2262ad726e629bf45 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 11 Mar 2016 21:09:09 -0500 Subject: [PATCH] Only enable breadcrumbs when using Jekyll Archives category pages --- _includes/breadcrumbs.html | 2 +- _layouts/default.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index 0fa27b11..332310c0 100644 --- a/_includes/breadcrumbs.html +++ b/_includes/breadcrumbs.html @@ -29,7 +29,7 @@ {% else %} {% assign i = i | plus: 1 %}
  • - {{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }} + {{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}
  • {{ site.breadcrumb_separator }} diff --git a/_layouts/default.html b/_layouts/default.html index a2fad247..a4401c4b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -30,7 +30,7 @@ layout: compress {% endif %} - {% if site.breadcrumbs and site.categories.type %} + {% if site.breadcrumbs and site.categories.type == 'jekyll-archives' %} {% include breadcrumbs.html %} {% endif %}