ungleich-staticcms/templates/sitemap.html
2020-12-03 13:02:33 +01:00

20 lines
543 B
HTML

{% extends "layout-2020.html" %}
{% block title %}Sitemap{% endblock %}
{% block content %}
<div class="container">
<div class="row mb-3">
<div class="col-md-12">
<ul class="sitemap">
{% for page in [site.root] if page.record_label recursive %}
<li><a href="{{ page|url }}">{{ page.record_label }}</a>
{% if page.children %}
<ul>{{ loop(page.children|sort(attribute='path')) }}</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endblock %}