From bf6bd617e250c64d3ce02b1e28947a27f7b5dd4b Mon Sep 17 00:00:00 2001 From: wg1j Date: Thu, 6 Jul 2017 00:30:39 +0800 Subject: [PATCH] Fixed site variables (#1063) --- _includes/breadcrumbs.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index cf2b745e..6eec214b 100644 --- a/_includes/breadcrumbs.html +++ b/_includes/breadcrumbs.html @@ -1,4 +1,4 @@ -{% case site.categories.type %} +{% case site.category_archive.type %} {% when "liquid" %} {% assign path_type = "#" %} {% when "jekyll-archives" %} @@ -9,7 +9,7 @@ {% assign path_type = nil %} {% assign crumb_path = '/' %} {% else %} - {% assign crumb_path = site.categories.path %} + {% assign crumb_path = site.category_archive.path %} {% endif %} \ No newline at end of file +