From ebaf1e9941ae1fe73b6cc5aeff44272593bce688 Mon Sep 17 00:00:00 2001 From: wg1j Date: Mon, 12 Jun 2017 10:41:26 +0800 Subject: [PATCH] Fixed site variables --- _includes/breadcrumbs.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html index cf2b745e7442..6eec214b97b8 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 +