Skip to content

Commit

Permalink
Merge pull request getpelican#567 from stuaxo/patch-5
Browse files Browse the repository at this point in the history
GUM Theme: Only display "Tags" sidebar header if there are tags
  • Loading branch information
justinmayer authored Dec 1, 2017
2 parents e7d1f34 + 9fa35e1 commit 808426e
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 @@ -29,8 +29,8 @@ <h4>Categories</h4>
{% endif %}


{% if tag_cloud %}
<h4>Tags</h4>
{% if tags %}
<ul class="blank">
{% for tag in tag_cloud %}
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0|e }}</a></li>
Expand Down

0 comments on commit 808426e

Please sign in to comment.