From 0b7f243aeb78cd7ac247a2a9cbdfb86a37312fb1 Mon Sep 17 00:00:00 2001
From: Michael Rose <est.michael@gmail.com>
Date: Fri, 11 Mar 2016 16:17:20 -0500
Subject: [PATCH] Make sure breadcrumbs, tag lists, and category lists only
 display when enabled

---
 _includes/page__taxonomy.html | 4 ++--
 _layouts/default.html         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_includes/page__taxonomy.html b/_includes/page__taxonomy.html
index a77f1d0f..9bb6c61c 100644
--- a/_includes/page__taxonomy.html
+++ b/_includes/page__taxonomy.html
@@ -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 %}
\ No newline at end of file
diff --git a/_layouts/default.html b/_layouts/default.html
index a48d2bd6..9875cb36 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -30,7 +30,7 @@ layout: compress
     </div>
   {% endif %}
 
-  {% if site.breadcrumbs %}
+  {% if site.breadcrumbs and site.categories.type %}
     {% include breadcrumbs.html %}
   {% endif %}