les_projets.twig 885 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. {% include 'components/title_page.twig' %}
  4. <div class="paralax w-30" data-rellax-speed="5">
  5. <img src="{{theme.link}}/asset/images/objet_2.svg" alt="objet 2">
  6. </div>
  7. {% for item in posts %}
  8. <section>
  9. <div class="header">
  10. <div class="title">
  11. <h3>{{item.title}}</h3>
  12. </div>
  13. <div class="content_zone">
  14. {{item.text}}
  15. </div>
  16. </div>
  17. <div class="projet row">
  18. {% for projet in item.meta("projets") %}
  19. <div class="wrap_content col- col-md-6 col-lg-4">
  20. <div class="img">
  21. <img src="{{ Image(projet.image).src }}" alt="{{ Image(projet.image).title }}">
  22. </div>
  23. <div class="title _pjt">
  24. {{projet.titre}}
  25. </div>
  26. <div class="content">
  27. {{projet.text}}
  28. </div>
  29. </div>
  30. {% endfor %}
  31. </div>
  32. </section>
  33. {% endfor %}
  34. {% endblock %}