Newer
Older
pre-www / src / layout / page.twig
{% if paths_base == null %}
    {% set paths_base = '..' %}
{% endif %}

{% extends "base.twig" %}

{% block content %}
    {% for block in post_type.pages[currentPage].blocks %}
        {% include '../blocks/'~block.key~'.twig' with {'block': block } %}
    {% endfor %}
{% endblock %}