summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/taglink.html
blob: 75e1fc96312571e57b7dcfb016aad98782b0878e (plain) (blame)
1
2
3
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>