arns-lt-gemini/templates/category.gmi

17 lines
633 B
Text
Raw Normal View History

{% import "macros.tpl" category_url, tag_url, text_url, logo, home %}
2023-06-29 18:25:40 +00:00
# {{ path }}
2022-08-20 20:46:31 +00:00
2022-08-23 10:39:43 +00:00
{% if indexFile %}{{ indexFile.FormatContent()|safe }}
2022-08-20 20:46:31 +00:00
🌙{{ indexFile.File.Created}}
{{ indexFile.File.Copyright }}
{{ indexFile.File.Lang }}{% endif %}
2022-08-20 22:33:27 +00:00
{% for file in tree.RootFiles %}{% if file.Name != "index.md" %}{{ text_url(file) }}{% endif %}{% endfor %}
{% for cat, count in tree.Categories %}{{ category_url(tree.Path|add:"/"|add:cat, cat, count) }}
2024-07-12 09:18:02 +00:00
{% endfor %}
{% for tag, count in tree.Tags %}{{ tag_url(tag, count) }}
2024-07-12 09:18:02 +00:00
{% endfor %}
{% if tree.RootPath %}{{ category_url(tree.RootPath, tree.RootPath, 0) }}{% endif %}
{{ home(lang) }}