From 2b5da22056559b25a9702def5facc922329b842f Mon Sep 17 00:00:00 2001 From: Mark Conroy Date: Mon, 23 Sep 2024 11:55:15 +0100 Subject: [PATCH] ensures quick fact content is inside a

tag --- templates/paragraphs/paragraph--localgov-fact-box.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/paragraphs/paragraph--localgov-fact-box.html.twig b/templates/paragraphs/paragraph--localgov-fact-box.html.twig index 16d0dbff..a6a7519d 100644 --- a/templates/paragraphs/paragraph--localgov-fact-box.html.twig +++ b/templates/paragraphs/paragraph--localgov-fact-box.html.twig @@ -66,14 +66,14 @@ {{ paragraph.localgov_above_text.value }}

{% endif %} - +

- {{ content.localgov_fact }} + {{ paragraph.localgov_fact.value }}

{{ content|without('localgov_above_text', 'localgov_fact', 'localgov_below_text', 'localgov_background') }}
- + {% if paragraph.localgov_below_text.value %}

{{ paragraph.localgov_below_text.value }}