diff options
author | Stuart Axon <stuaxo2@yahoo.com> | 2017-10-25 16:01:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 16:01:50 +0100 |
commit | 9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9 (patch) | |
tree | 9f4e8703c62e4722f8280157bee86d64b6335dba | |
parent | 2820df985efd295875e5be72a4bff3364a0e8de5 (diff) | |
download | pelican-themes-9fa35e16d8a748f7f89be303d47a2a20c7f6c1c9.tar.gz |
Sidebar - Only display "Tags" 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 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> |