diff options
author | Justin Mayer <entroP@gmail.com> | 2017-12-01 07:07:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 07:07:14 -0800 |
commit | 808426e286879f25c87b0a6b8f2ccd6da5d07fe2 (patch) | |
tree | f2fda6856973f43b9e47449d2a90d4bd4fd1c91a | |
parent | e7d1f34e8e11b5d0c26821b1562b12f71b6bb1bf (diff) | |
parent | 9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9 (diff) | |
download | pelican-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.html | 2 |
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> |