Skip to content

Commit

Permalink
GUM Theme: Only display "Categories" sidebar header if there is more …
Browse files Browse the repository at this point in the history
…than one category
  • Loading branch information
stuaxo authored Oct 25, 2017
1 parent 2820df9 commit 17b0074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gum/templates/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ <h4>Pages</h4>
{% endif %}
</ul>

{% if categories and categories|length > 1 %}
<h4>Categories</h4>
{% if categories %}
<ul class="blank">
{% for cat, null in categories %}
<li><a href="{{ SITEURL }}/{{ cat.url|e }}">{{ cat }}</a></li>
Expand Down

0 comments on commit 17b0074

Please sign in to comment.