arns-lt-gemini/templates/tag.gmi
Arnas Udovic 27019d2efa
All checks were successful
continuous-integration/drone/push Build is passing
template fixes
2023-06-29 21:25:40 +03:00

8 lines
390 B
Text

{% import "macros.tpl" category_url, tag_url, text_url, logo %}
# [{{ tag }}]
{% for file in tree.Files %}{{ text_url(lang, file) }}{% endfor %}
{% if tree.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %}
{% for tag, count in tree.Tags %}{{ tag_url(lang, tag, count) }}
{% endfor %} {% endif %}
=> {% if lang == "sgs" %}/sgs 🏠 nomėi{% else %}/en 🏠 home{% endif %}