association.twig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. {% include '/components/sider_left.twig' with { name__template : 'association' } %}
  7. </aside>
  8. <div class="wrapper__content col-md-7">
  9. <div class="wrap__content __asso">
  10. <div class="__header">
  11. <h2 class="titre_1">{{ post.meta('titre_asso') }}</h2>
  12. </div>
  13. <div class="__body">
  14. {{ post.meta('paragraphe_asso') }}
  15. </div>
  16. </div>
  17. <div class="wrap__content engagement">
  18. <div class="__header">
  19. <h2 class="titre_1">{{ post.meta('titre_engage') }}</h2>
  20. </div>
  21. <div class="__body">
  22. <div class="__image">
  23. <img src="{{ Image(post.meta('image_engagement')).src }}" />
  24. </div>
  25. <div class="tableau_engagements row align-items-start">
  26. <div class="gutter-sizer"></div>
  27. {% for item in post.meta('type_engagement') %}
  28. <div class="engagement col-md-12 col-lg-6"> <!--semble pas marcher (à cause de massonery ?)-->
  29. <div class="__head">
  30. <h4>{{item.titre_engagement}}</h4>
  31. </div>
  32. <div class="__content">
  33. {{item.paragraphe_engagement}}
  34. </div>
  35. </div>
  36. {% endfor %}
  37. </div>
  38. <div class="wrap__content vie-asso">
  39. <div class="__header">
  40. <h2 class="titre_1">{{ post.meta('titre_vieasso') }}</h2>
  41. </div>
  42. <div class="__body">
  43. {{ post.meta('paragraphe_vieasso') }}
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </section>
  50. {% endblock %}