12345678910111213141516 |
- {% extends 'partials/base.html.twig' %}
- {% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_', "0":"", "1":"", "2":"", "3":"", "4":"", "5":"", "6":"", "7":"", "8":"", "9":"", ".":"","_":"" }) }}{% endmacro %}
- {% block content %}
- {{ page.content }}
- {% endblock %}
- {% block body %}
- {% for module in page.collection %}
- <div id="{{ _self.pageLinkName(module.folder) }}" class="blocs">
- {{ module.content }}
- </div>
- {% endfor %}
- {% endblock %}
|