summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/taglink.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/taglink.html')
-rw-r--r--templates/shortcodes/taglink.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/shortcodes/taglink.html b/templates/shortcodes/taglink.html
index 6e8642e..75e1fc9 100644
--- a/templates/shortcodes/taglink.html
+++ b/templates/shortcodes/taglink.html
@@ -1,2 +1,4 @@
{% set tag_url = get_taxonomy_url(kind="tags", name=tag) %}
-<a href="{{ tag_url | safe }}" class="taglink">{% if name %}{{ name }}{% else %}{{ tag }}{% endif %}</a>
+<a href="{{ tag_url | safe }}" class="taglink">
+ {% if name %}{{ name }}{% else %}{{ tag }}{% endif %}
+</a>