aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2017-12-01 07:07:14 -0800
committerGitHub <noreply@github.com>2017-12-01 07:07:14 -0800
commit808426e286879f25c87b0a6b8f2ccd6da5d07fe2 (patch)
treef2fda6856973f43b9e47449d2a90d4bd4fd1c91a
parente7d1f34e8e11b5d0c26821b1562b12f71b6bb1bf (diff)
parent9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9 (diff)
downloadpelican-themes-808426e286879f25c87b0a6b8f2ccd6da5d07fe2.tar.gz
Merge pull request #567 from stuaxo/patch-5
GUM Theme: Only display "Tags" sidebar header if there are tags
-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 9e07507..a65192a 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>