aboutsummaryrefslogtreecommitdiffstats
path: root/gum/templates/sidebar.html
diff options
context:
space:
mode:
authorStuart Axon <stuaxo2@yahoo.com>2017-10-25 16:01:50 +0100
committerGitHub <noreply@github.com>2017-10-25 16:01:50 +0100
commit9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9 (patch)
tree9f4e8703c62e4722f8280157bee86d64b6335dba /gum/templates/sidebar.html
parent2820df985efd295875e5be72a4bff3364a0e8de5 (diff)
downloadpelican-themes-9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9.tar.gz
Sidebar - Only display "Tags" header if there are tags
Diffstat (limited to 'gum/templates/sidebar.html')
-rw-r--r--gum/templates/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html
index a60477f..1fbf724 100644
--- a/gum/templates/sidebar.html
+++ b/gum/templates/sidebar.html
@@ -29,8 +29,8 @@
{% 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>