layout.html.twig 429 B

1234567891011121314
  1. {% set item_col = show_sidebar ? 'col-9 col-md-12' : 'col-12' %}
  2. {% set sidebar_col = show_sidebar ? 'col-3 col-md-12' : 'col-12' %}
  3. <div class="columns">
  4. <div id="item" class="column {{ item_col }} extra-spacing">
  5. {% block item %}{% endblock %}
  6. </div>
  7. {% if show_sidebar %}
  8. <div id="sidebar" class="column {{ sidebar_col }}">
  9. {% block sidebar %}{% endblock %}
  10. </div>
  11. {% endif %}
  12. </div>