From 9f00e9a8fa49fd0772b44d2c61861e5298784e79 Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Fri, 12 Jul 2024 00:21:41 +0300 Subject: [PATCH] tag index fix --- README.md | 4 ++++ templates/tag.gmi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4383f34..eafb86a 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,7 @@ __DONE__ * all other languages under sgs * index file redirects 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 diff --git a/templates/tag.gmi b/templates/tag.gmi index e313229..42cfdaa 100644 --- a/templates/tag.gmi +++ b/templates/tag.gmi @@ -3,6 +3,6 @@ {% for file in tree.Files %}{{ text_url(file) }}{% endfor %} {% 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 %} {{ home(lang) }}