diff --git a/templates/all_texts.gmi b/templates/all_texts.gmi index e519e61..66063c6 100644 --- a/templates/all_texts.gmi +++ b/templates/all_texts.gmi @@ -1,6 +1,6 @@ {% import "macros.tpl" category_url, tag_url, text_url, logo %} # {{ logo() }} Arna alkierios :: {% if lang == "sgs" %}Vėsė tekstā{% else %}All texts{% endif %} -{% for file in tree.Files %}{{ text_url(lang, file) }} {% endfor %} +{% for file in tree.Files %}{{ text_url(lang, file) }}{% endfor %} => {% if lang == "sgs" %}/sgs ← grīžtė{% else %}/en ← back{% endif %} diff --git a/templates/en/index.gmi b/templates/en/index.gmi index dac6b16..fba0d99 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/page.gmi b/templates/page.gmi index b861124..894a997 100644 --- a/templates/page.gmi +++ b/templates/page.gmi @@ -3,7 +3,7 @@ {{ file.FormatContent()|safe }} -🌙 {{ file.File.Created}} +🌙{{ file.File.Created}} {{ file.File.Copyright }} {% if file.File.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %} diff --git a/templates/search.gmi b/templates/search.gmi index 6e118c2..9a72142 100644 --- a/templates/search.gmi +++ b/templates/search.gmi @@ -3,6 +3,6 @@ {% if lang == "sgs" %}Ėiškuota vagol{% else %}Searched by{% endif %}: {{ q }} {% if tree.Files|length == 0 %}{% if lang == "sgs" %}Nieka narada{% else %}Nothing found{% endif %}...{% else %} -{% for file in tree.Files %}{{ text_url(lang, file) }} {% endfor %} {% endif %} +{% for file in tree.Files %}{{ text_url(lang, file) }} {% endfor %}{% endif %} => {% if lang == "sgs" %}/sgs ← grīžtė{% else %}/en ← back{% endif %} diff --git a/templates/sgs/index.gmi b/templates/sgs/index.gmi index 829a276..b1f9ab8 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(lang, file) }}{% endfor %} {% endif %} => /sgs/f vėsė straipsnē ({{ tree.Files|length }})