Files
2018-04-11 17:57:57 +02:00

12 lines
431 B
Twig

{% macro pageLinkName(text) %}{{ text|lower|replace({'01._':'','02._':'','03._':'','04._':'','05._':'','06._':'','07._':'','08._':'','09._':''}) }}{% endmacro %}
{% block content %}
<h2>{{ header.title }}</h2>
{{ page.content }}
{% for module in page.collection() %}
<div id="{{ _self.pageLinkName(module.folder) }}">
{{ module.content }}
</div>
{% endfor %}
{% endblock %}