{% set paths_base = '..' %} {% set bodyClasses = 'page' %} {% extends "base.twig" %} {% block content %} {% for block in post_type.pages[currentPage].blocks %} {% include '../blocks/'~block.key~'.twig' with {'block': block } %} {% endfor %} {% endblock %}