text.html.twig 592 B

1234567891011121314151617
  1. {% set grid_size = theme_var('grid-size') %}
  2. {% set image = page.media.images|first %}
  3. <section class="section modular-text {{ page.header.class}} bg-gray">
  4. <section class="container {{ grid_size }}">
  5. <div class="columns {{ page.header.image_align|default('align-right') }}">
  6. <div class="column col-6 col-md-12">
  7. {{ content }}
  8. </div>
  9. <div class="column col-6 col-md-12">
  10. {% if image %}
  11. {{ image.html }}
  12. {% endif %}
  13. </div>
  14. </div>
  15. </section>
  16. </section>