addtheme
This commit is contained in:
23
user/themes/lecampus/templates/partials/cal-event.html.twig
Normal file
23
user/themes/lecampus/templates/partials/cal-event.html.twig
Normal file
@@ -0,0 +1,23 @@
|
||||
{% set image = page.media.images|first %}
|
||||
|
||||
<div class="content-item h-entry">
|
||||
{% if not hero_image_name %}
|
||||
<div class="content-title text-center">
|
||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
|
||||
{% if page.header.subtitle %}
|
||||
<h3 >{{ page.header.subtitle }}</h3>
|
||||
{% endif %}
|
||||
{% include 'partials/blog/public.html.twig' %}
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
{% include 'partials/blog/reseaux_sociaux.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="e-content">
|
||||
{% if image %}
|
||||
{{ image.html }}
|
||||
{% endif %}
|
||||
{{ page.content|raw }}
|
||||
</div>
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user