diff --git a/web/app/themes/la_mine/templates/accueil.twig b/web/app/themes/la_mine/templates/accueil.twig index 92fc5edc..d3afd7d4 100644 --- a/web/app/themes/la_mine/templates/accueil.twig +++ b/web/app/themes/la_mine/templates/accueil.twig @@ -28,24 +28,28 @@
+
{% include 'partial/section_projets.twig' %} {#
objet 3
#} +
- {% include 'partial/section_tpsF.twig' %} +
+ {% include 'partial/section_tpsF.twig' %} +
-
-
-

La Mine en vidéo

-
-
-
+
+
+

La Mine en vidéo

+
{% if post.video_la_mine %} - +
+ +
{% endif %}
diff --git a/web/app/themes/la_mine/templates/partial/section_projets.twig b/web/app/themes/la_mine/templates/partial/section_projets.twig index 730c4347..8781d4b1 100644 --- a/web/app/themes/la_mine/templates/partial/section_projets.twig +++ b/web/app/themes/la_mine/templates/partial/section_projets.twig @@ -1,10 +1,8 @@ -
-

Les Projets

-

{{ post.meta('texte_chapeau_projet') }}

-
-
+

Les Projets

+

{{ post.meta('texte_chapeau_projet') }}

+
-
+ {#
@@ -30,35 +28,24 @@
-
- +
#} -
- {% for item in projet %} -
-
-

{{item.title}}

-
-
- {{item.meta('text')|truncate(30)}} -
- {% for projet in item.meta("projets") %} -
-
- {{projet.titre}} -
-
- {{projet.text|truncate(20)}} -
-
- - {% endfor %} -
+ {% for item in projet %} +
+

{{item.title}}

+
+ {{item.meta('text')|truncate(30)}} +
+ {% for projet in item.meta("projets") %} +

{{projet.titre}}

+ {{projet.text|truncate(20)}} + {% endfor %}
- {% endfor %} -
-
- Tout voir +
+ {% endfor %} + +
diff --git a/web/app/themes/la_mine/templates/partial/section_tpsF.twig b/web/app/themes/la_mine/templates/partial/section_tpsF.twig index 5a6a2486..2d9f9cef 100644 --- a/web/app/themes/la_mine/templates/partial/section_tpsF.twig +++ b/web/app/themes/la_mine/templates/partial/section_tpsF.twig @@ -1,32 +1,26 @@ -
-

Les temps forts

-
-
-
- {% for item in tpsF %} -
-
-
- {{item.thumbnail.title}} -
-
-
-

{{item.title}}

-
-

Prochaine Édition : -

-

-
-
-
- {{item.text|truncate(20)}} -
-
-
+

Les temps forts

+
+ +{% for item in tpsF %} +
+
+ {{item.thumbnail.alt}} +
+
+
+

{{item.title}}

+ Prochaine Édition : +

+
- {% endfor %} -
-
- Tout voir +
+ {{item.text|truncate(20)}} +
+
+{% endfor %} + +
+