Fixed site variables (#1063)

This commit is contained in:
wg1j 2017-07-06 00:30:39 +08:00 committed by Michael Rose
parent 537d0b28d4
commit bf6bd617e2

View file

@ -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 %}
<nav class="breadcrumbs">
@ -36,4 +36,4 @@
{% endif %}
{% endfor %}
</ol>
</nav>
</nav>