From 4a0d53b22945c7d88baf9151dd7f473eeb98339e Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Wed, 30 Apr 2025 17:22:12 +0200 Subject: [PATCH] Refactor event header markup for improved subtitle handling. The subtitle block was moved inside its container for better structure and readability. This ensures that the 'event-title-container' only wraps the subtitle when it exists, eliminating unnecessary empty containers. --- core/templates/core/event_page.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/templates/core/event_page.html b/core/templates/core/event_page.html index 9087240..6ce33d0 100644 --- a/core/templates/core/event_page.html +++ b/core/templates/core/event_page.html @@ -70,12 +70,11 @@ {% endif %} -
-

{{ self.title }}

- {% if self.subtitle %} + {% if self.subtitle %} +

{{ self.subtitle }}

- {% endif %} -
+
+ {% endif %}