arns-lt-gemini/templates/page.gmi
Arnas Udovic caad5fec20
All checks were successful
continuous-integration/drone/push Build is passing
better layout
2025-03-25 08:21:42 +02:00

36 lines
921 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% import "macros.tpl" category_url, tag_url, text_url, logo, home %}
# {{ file.File.Description }}
{% for tag in file.File.Tags %}{{ tag_url(tag, 0) }}
{% endfor %}
```
Created: {{ file.File.Created}}
Copyright: {{ file.File.Copyright }}
Language: {{ file.File.Lang }}
```
{{ file.FormatContent()|safe }}
{{ category_url(file.File.CategoryPath, file.File.Category|last, 0) }}
{{ home(lang) }}
```
Page counter: {{pageCounter}}
```
### {{ T('mentions') }}
{% if mentions %}
{% for id, mention in mentions %}=> {{ mention}} 📢 {{mention}}
{% endfor %}{% endif %}=> /mention/{{file.File.Id}} {{ T('newMention') }}
{% if admin and adminWaitingMentions %}
### Keravuotuojė sekcėjė
{% for id, mention in adminWaitingMentions %}
=> {{ mention }}
=> /admin/mentions/review/{{file.File.Id}}/{{id}} ✓ Patvėrtintė
=> /admin/mentions/remove/{{file.File.Id}}/{{id}} 🗙 Pašalintė
{% endfor %}
{% endif %}