Skip to content

Commit

Permalink
Fixed site variables (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
wg1j authored and mmistakes committed Jul 5, 2017
1 parent 537d0b2 commit bf6bd61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% case site.categories.type %}
{% case site.category_archive.type %}
{% when "liquid" %}
{% assign path_type = "#" %}
{% when "jekyll-archives" %}
Expand All @@ -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">
Expand All @@ -36,4 +36,4 @@
{% endif %}
{% endfor %}
</ol>
</nav>
</nav>

0 comments on commit bf6bd61

Please sign in to comment.