{% import "macros.tpl" category_url, tag_url, text_url, logo, home %} # {{ path }} {% if indexFile %}{{ indexFile.FormatContent()|safe }} 🌙{{ indexFile.File.Created}} {{ indexFile.File.Copyright }} {{ 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 %} {% for tag, count in tree.Tags %}{{ tag_url(tag, count) }} {% endfor %} {% endif %} {% if tree.RootPath %}{{ category_url(tree.RootPath, tree.RootPath, 0) }}{% endif %} {{ home(lang) }}