From 7579fac7d9d6c773cca909cc5cddb37495ec21ae Mon Sep 17 00:00:00 2001 From: Matthieu Date: Sun, 11 Dec 2022 10:07:29 +0100 Subject: [PATCH] - Fix code mise en page --- Resources/templates/blocks/highlight.xml | 2 +- Resources/views/html5/highlight.html.twig | 8 +------- changelog.md | 4 ++++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Resources/templates/blocks/highlight.xml b/Resources/templates/blocks/highlight.xml index 76e02ee..e2b1374 100644 --- a/Resources/templates/blocks/highlight.xml +++ b/Resources/templates/blocks/highlight.xml @@ -16,7 +16,7 @@ Langage de programmation (html, php, javascript, python....) - + Code Code diff --git a/Resources/views/html5/highlight.html.twig b/Resources/views/html5/highlight.html.twig index 408bfee..6699640 100755 --- a/Resources/views/html5/highlight.html.twig +++ b/Resources/views/html5/highlight.html.twig @@ -2,12 +2,6 @@ {% block section_content %}
-        
-    {%- block code -%}
-        {% if block['code'] is defined and block['code'] is not empty %}
-            {{ block['code'] }}
-        {% endif %}
-    {% endblock %}
-    
+        {%- block code -%}{% if block['code'] is defined and block['code'] is not empty %}{{ block['code'] }}{% endif %}{% endblock %}
     
{% endblock %} \ No newline at end of file diff --git a/changelog.md b/changelog.md index e5983c5..e44c965 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## 2.5.6 + +- Fix code mise en page + ## 2.5.5 (10/12/2022) + Ajout bloc video avec texte