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 }})