tag index fix

This commit is contained in:
Arnas Udovic 2024-07-12 00:21:41 +03:00
parent 81c5db91f3
commit 9f00e9a8fa
2 changed files with 5 additions and 1 deletions

View file

@ -27,3 +27,7 @@ __DONE__
* all other languages under sgs * all other languages under sgs
* index file redirects to category * index file redirects to category
* index file displayed as intro to category * index file displayed as intro to category
## Run dev
go run . -hostname=localhost -certificatePath=~/ -fileSrvHost=localhost -fileSrvPort=8301 -defaultLang=sgs -supportedLang=lt -key 123

View file

@ -3,6 +3,6 @@
{% for file in tree.Files %}{{ text_url(file) }}{% endfor %} {% for file in tree.Files %}{{ text_url(file) }}{% endfor %}
{% if tree.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %} {% if tree.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %}
{% for tag, count in tree.Tags %}{{ tag_url(lang, tag, count) }} {% for tag, count in tree.Tags %}{{ tag_url(tag, count) }}
{% endfor %} {% endif %} {% endfor %} {% endif %}
{{ home(lang) }} {{ home(lang) }}