cal-list-event.html.twig 709 B

123456789101112131415161718192021222324
  1. <div class="card">
  2. <div class="card-header">
  3. {% include 'partials/blog/public.html.twig' %}
  4. </div>
  5. {% set image = page.media.images|first %}
  6. {% if image %}
  7. <div class="card-image">
  8. <a href="{{ page.url }}">{{ image.cropZoom(800,400).html }}</a>
  9. </div>
  10. {% endif %}
  11. <div class="card-body">
  12. <div class="card-title">
  13. {% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
  14. {% include 'partials/blog/date.html.twig' %}
  15. </div>
  16. <div class="card-summary">
  17. {% if page.summary != page.content %}
  18. {{ page.summary|raw }}
  19. {% else %}
  20. {{ page.content|raw }}
  21. {% endif %}
  22. </div>
  23. </div>
  24. </div>