From 08396bb61dffd1bab643baed7fa1d66ef90634ff Mon Sep 17 00:00:00 2001 From: dave onion Date: Fri, 19 Dec 2025 11:17:59 -0500 Subject: [PATCH] Show subtitle in hero in title bar mode (ommitting the subtitle field can revert the look) --- .../agaric/templates/paragraph/paragraph--title.html.twig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/agarica/patternlibrary/agaric/templates/paragraph/paragraph--title.html.twig b/web/themes/custom/agarica/patternlibrary/agaric/templates/paragraph/paragraph--title.html.twig index bb7c68b..294a24e 100644 --- a/web/themes/custom/agarica/patternlibrary/agaric/templates/paragraph/paragraph--title.html.twig +++ b/web/themes/custom/agarica/patternlibrary/agaric/templates/paragraph/paragraph--title.html.twig @@ -85,7 +85,10 @@
-

{{ content.field_title.0 }}

+

{{ content.field_title.0 }}

+ {% if paragraph.field_subtitle.value %} +

{{ content.field_subtitle.0 }}

+ {% endif %}
@@ -93,4 +96,4 @@ {% endif %} {% endblock %} -{% endblock paragraph %} +{% endblock paragraph %} \ No newline at end of file