|
@@ -72,27 +72,25 @@
|
|
|
|
|
|
{{ title_prefix }}
|
|
{{ title_prefix }}
|
|
|
|
|
|
- {# Afficher le champ image séparément #}
|
|
|
|
- {% if image_field_content %}
|
|
|
|
- <div class="image-actualite">
|
|
|
|
- {{ image_field_content }}
|
|
|
|
- </div>
|
|
|
|
- {% endif %}
|
|
|
|
-
|
|
|
|
- {# Envelopper les autres champs dans des divs distinctes #}
|
|
|
|
- <div class="infos-content">
|
|
|
|
- {% if label and not page %}
|
|
|
|
- <h2{{ title_attributes }}>
|
|
|
|
- <a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
|
|
|
- </h2>
|
|
|
|
|
|
+ <div class="entete_actu">
|
|
|
|
+ {% if image_field_content %}
|
|
|
|
+ <div class="image-actualite">
|
|
|
|
+ {{ image_field_content }}
|
|
|
|
+ </div>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|
- {% for field_name, field_content in filtered_content %}
|
|
|
|
- {{ field_content }}
|
|
|
|
- {% endfor %}
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="infos-content">
|
|
|
|
+ {% if label and not page %}
|
|
|
|
+ <h2{{ title_attributes }}>
|
|
|
|
+ <a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
|
|
|
+ </h2>
|
|
|
|
+ {% endif %}
|
|
|
|
|
|
- {# Ajouter une nouvelle div pour le champ body et fichiers #}
|
|
|
|
|
|
+ {% for field_name, field_content in filtered_content %}
|
|
|
|
+ {{ field_content }}
|
|
|
|
+ {% endfor %}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
{% if body_field_content is defined or files_field_content is defined %}
|
|
{% if body_field_content is defined or files_field_content is defined %}
|
|
<div class="body-content">
|
|
<div class="body-content">
|
|
{% if body_field_content is defined %}
|
|
{% if body_field_content is defined %}
|