association.twig 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. {% include 'components/title_page.twig' %}
  4. <section class="row">
  5. <aside class="sidebar_left col-12 col-md-12 col-lg-4">
  6. <div class="wrapper">
  7. {% include '/components/sider_left.twig' with { name__template : 'association' } %}
  8. </div>
  9. {% include '/components/buttons/bouton_asso.html.twig' %}
  10. </aside>
  11. <section class="wrapper__content col-12 col-md-12 col-lg-8">
  12. <article class="wrap__content __asso">
  13. <header>
  14. <h2 class="titre_1">{{ post.meta('titre_asso') }}</h2>
  15. </header>
  16. <section class="__body">
  17. {{ post.meta('paragraphe_asso') }}
  18. </section>
  19. </article>
  20. <article class="wrap__content engagement">
  21. <header>
  22. <h2 class="titre_1">{{ post.meta('titre_engage') }}</h2>
  23. </header>
  24. <section class="__body">
  25. <figure class="__image">
  26. <img src="{{ Image(post.meta('image_engagement')).src }}" />
  27. </figure>
  28. <section class="tableau_engagements card-columns ">
  29. {# <div class="gutter-sizer"></div> #}
  30. {% for item in post.meta('type_engagement') %}
  31. <article class="engagement card"> <!--semble pas marcher (à cause de massonery ?)-->
  32. <header>
  33. <h4>{{item.titre_engagement}}</h4>
  34. </header>
  35. <div class="__content">
  36. {{item.paragraphe_engagement}}
  37. </div>
  38. </article>
  39. {% endfor %}
  40. </section>
  41. <section class="wrap__content vie-asso">
  42. <div class="__header">
  43. <h2 class="titre_1">{{ post.meta('titre_vieasso') }}</h2>
  44. </div>
  45. <div class="__body">
  46. {{ post.meta('paragraphe_vieasso') }}
  47. </div>
  48. </section>
  49. </section>
  50. </article>
  51. </section>
  52. </section>
  53. {% endblock %}