clean design

This commit is contained in:
Arnas Udovic 2024-07-12 12:18:02 +03:00
parent 9f00e9a8fa
commit 5d44eff524
5 changed files with 8 additions and 16 deletions

View file

@ -8,11 +8,9 @@
{{ indexFile.File.Lang }}{% endif %}
{% for file in tree.RootFiles %}{% if file.Name != "index.md" %}{{ text_url(file) }}{% endif %}{% endfor %}
{% if tree.Categories %}### {% if lang == "sgs" %}Kateguorėjės{% else %}Categories{% endif %}
{% for cat, count in tree.Categories %}{{ category_url(tree.Path|add:"/"|add:cat, cat, count) }}
{% endfor %} {% endif %}
{% if tree.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %}
{% endfor %}
{% for tag, count in tree.Tags %}{{ tag_url(tag, count) }}
{% endfor %} {% endif %}
{% endfor %}
{% if tree.RootPath %}{{ category_url(tree.RootPath, tree.RootPath, 0) }}{% endif %}
{{ home(lang) }}

View file

@ -8,13 +8,11 @@ Welcome to my capsule in Gemini space. {{ logo() }}
=> /a about
{% if tree.Categories %}### Categories
{% for cat, count in tree.Categories %}
{{ category_url(cat, cat, count) }} {% endfor %} {% endif %}
{{ category_url(cat, cat, count) }} {% endfor %}
{% if tree.Tags %}### Tags
{% for tag, count in tree.Tags %}
{{ tag_url(tag, count) }} {% endfor %} {% endif %}
{{ tag_url(tag, count) }} {% endfor %}
{% if lastFiles %}### Last texts
{% for file in lastFiles %}{{ text_url(file) }}{% endfor %}{% endif %}

View file

@ -1,9 +1,8 @@
{% import "macros.tpl" category_url, tag_url, text_url, logo, home %}
# {{ file.File.Description }}
{% if file.File.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %}
{% for tag in file.File.Tags %}{{ tag_url(tag, 0) }}
{% endfor %} {% endif %}
{% endfor %}
🌙{{ file.File.Created}}
{{ file.File.Copyright }}

View file

@ -8,13 +8,11 @@ Sveikė atvīkėn i mona kapsolė Gemini ertie. {{ logo() }}
=> /a aple
{% if tree.Categories %}### Kateguorėjės
{% for cat, count in tree.Categories %}
{{ category_url(cat, cat, count) }} {% endfor %} {% endif %}
{{ category_url(cat, cat, count) }} {% endfor %}
{% if tree.Tags %}### Žīmas
{% for tag, count in tree.Tags %}
{{ tag_url(tag, count) }} {% endfor %} {% endif %}
{{ tag_url(tag, count) }} {% endfor %}
{% if lastFiles %}### Paskotėnē īrašā

View file

@ -2,7 +2,6 @@
# [{{ tag }}]
{% for file in tree.Files %}{{ text_url(file) }}{% endfor %}
{% if tree.Tags %}### {% if lang == "sgs" %}Žīmas{% else %}Tags{% endif %}
{% for tag, count in tree.Tags %}{{ tag_url(tag, count) }}
{% endfor %} {% endif %}
{% endfor %}
{{ home(lang) }}