footer.html.twig 407 B

12345678910111213141516
  1. {% set collection = page.collection() %}
  2. {% set image = page.media.images|first %}
  3. {% for item in page.collection if page.template == "footer" %}
  4. {{item.title}}
  5. {% endfor %}
  6. <section id="footer" class="section blog-listing">
  7. {% if image %}
  8. {{image.html}}
  9. {% endif %}
  10. {% for item in collection %}
  11. <h3>{{item.title}}</h3>
  12. {{item.content}}
  13. {% endfor %}
  14. </section>