templates/themes/ismart/page/index.html.twig line 1

Open in your IDE?
  1. {% extends 'themes/ismart/base.html.twig' %}
  2. {% block customStyle %}
  3.     <style>
  4.         {{ page.customCss | raw }}
  5.     </style>
  6. {% endblock %}
  7. {% block body %}
  8.     <main class="{{ page.css }}">
  9.         {% set blocks = post.block %}
  10.         
  11.         {% for block in blocks %}
  12.             {% if block.location == ''%}
  13.             
  14.                 {% if block.active is empty or block.active == 'active' %}
  15.                     {{ render( controller( 'App\\Frontend\\Controller\\BlockController::run',{id: block.id, request:app.request} )) }}
  16.                 {% endif %}
  17.             {% endif %}
  18.         {% endfor %}
  19.     </main>
  20. {% endblock %}