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" %} {% when "liquid" %}
{% assign path_type = "#" %} {% assign path_type = "#" %}
{% when "jekyll-archives" %} {% when "jekyll-archives" %}
@ -9,7 +9,7 @@
{% assign path_type = nil %} {% assign path_type = nil %}
{% assign crumb_path = '/' %} {% assign crumb_path = '/' %}
{% else %} {% else %}
{% assign crumb_path = site.categories.path %} {% assign crumb_path = site.category_archive.path %}
{% endif %} {% endif %}
<nav class="breadcrumbs"> <nav class="breadcrumbs">
@ -36,4 +36,4 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ol> </ol>
</nav> </nav>