association.twig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. {% include 'components/title_page.twig' %}
  4. <section class="row">
  5. <aside class="sidebar_left col-md-4 mr-2">
  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-md-7">
  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 %}