From 7fbd1ce6f8aa7563016dca6bd1f164e509b9b247 Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Tue, 14 Feb 2023 17:33:52 +0200 Subject: [PATCH] space in en index; sgs urls with lang --- templates/en/index.gmi | 2 +- templates/sgs/index.gmi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/en/index.gmi b/templates/en/index.gmi index fba0d99..b3343e9 100644 --- a/templates/en/index.gmi +++ b/templates/en/index.gmi @@ -22,6 +22,6 @@ Main themes are spreaded by categories. Each file may have tags what can filter {{ tag_url(lang, tag, count) }} {% endfor %} {% endif %} {% if lastFiles %}### Last texts -{% for file in lastFiles %}{{ text_url(lang, file) }} {% endfor %}{% endif %} +{% for file in lastFiles %}{{ text_url(lang, file) }}{% endfor %}{% endif %} => /en/f all texts ({{ tree.Files|length }}) diff --git a/templates/sgs/index.gmi b/templates/sgs/index.gmi index b1f9ab8..71f367f 100644 --- a/templates/sgs/index.gmi +++ b/templates/sgs/index.gmi @@ -23,7 +23,7 @@ Pagrindėnės temas paskėrstītas par kateguorėjės. Kuožnos fails gal turie {% if lastFiles %}### Paskotėnē īrašā -{% for file in lastFiles %}{{ text_url(lang, file) }}{% endfor %} +{% for file in lastFiles %}{{ text_url(file.Lang, file) }}{% endfor %} {% endif %} => /sgs/f vėsė straipsnē ({{ tree.Files|length }})