2024-07-11 16:22:30 +03:00
|
|
|
{% import "macros.tpl" category_url, tag_url, text_url, logo, home %}
|
2023-06-29 21:25:40 +03:00
|
|
|
# {{ path }}
|
2022-08-20 23:46:31 +03:00
|
|
|
|
2022-08-23 13:39:43 +03:00
|
|
|
{% if indexFile %}{{ indexFile.FormatContent()|safe }}
|
2022-08-20 23:46:31 +03:00
|
|
|
|
2024-07-17 12:30:49 +03:00
|
|
|
```
|
|
|
|
Created: {{ indexFile.File.Created}}
|
|
|
|
Copyright: {{ indexFile.File.Copyright }}
|
|
|
|
Language: {{ indexFile.File.Lang }}
|
|
|
|
```{% endif %}
|
2022-08-21 01:33:27 +03:00
|
|
|
|
2024-07-11 16:22:30 +03: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 12:18:02 +03:00
|
|
|
{% endfor %}
|
2024-07-11 16:22:30 +03:00
|
|
|
{% for tag, count in tree.Tags %}{{ tag_url(tag, count) }}
|
2024-07-12 12:18:02 +03:00
|
|
|
{% endfor %}
|
2024-07-11 16:22:30 +03:00
|
|
|
{% if tree.RootPath %}{{ category_url(tree.RootPath, tree.RootPath, 0) }}{% endif %}
|
|
|
|
{{ home(lang) }}
|