blog-item.html.twig 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="content-item">
  2. <div class="e-content">
  3. <div class="media">
  4. {% for module in page.collection() %}
  5. {{ module.content }}
  6. {% endfor %}
  7. {% for image in page.media %}
  8. {{ image.html }}
  9. {% endfor %}
  10. </div>
  11. <div class="content">
  12. <div class="txt">
  13. <h3><a href="{{ page.url }}">{{header.title}}</a></h3>
  14. {{ page.content }}
  15. </div>
  16. <div class="taxonomy">
  17. {% if page.header.taxonomy.category %}
  18. {% include 'partials/blog/taxonomy.html.twig' with { taxonomy: 'category'} %}
  19. {% endif %}
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <!-- <p class="prev-next">
  25. {% if not page.isLast %}
  26. <a class="btn prev" href="{{ page.prevSibling.url }}">{{ 'BLOG.ITEM.PREV_POST'|t}}</a>
  27. {% endif %}
  28. {% if not page.isFirst %}
  29. <a class="btn next" href="{{ page.nextSibling.url }}">{{ 'BLOG.ITEM.NEXT_POST'|t }}</i></a>
  30. {% endif %}
  31. </p> -->