ungleich-staticcms/templates/sitemap.html

21 lines
543 B
HTML
Raw Normal View History

2020-12-03 11:54:53 +00:00
{% extends "layout-2020.html" %}
{% block title %}Sitemap{% endblock %}
2020-12-03 12:02:33 +00:00
{% block content %}
2020-12-03 11:54:53 +00:00
<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 %}