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.
main
Arne Schauf 2 weeks ago
parent 1768e1845d
commit 4a0d53b229
  1. 9
      core/templates/core/event_page.html

@ -70,12 +70,11 @@
{% endif %} {% endif %}
<!-- Event Header --> <!-- Event Header -->
<div class="event-title-container"> {% if self.subtitle %}
<h1 class="event-title">{{ self.title }}</h1> <div class="event-title-container">
{% if self.subtitle %}
<h2 class="event-subtitle">{{ self.subtitle }}</h2> <h2 class="event-subtitle">{{ self.subtitle }}</h2>
{% endif %} </div>
</div> {% endif %}
<div class="row"> <div class="row">
<!-- Event Images (Moved to left) --> <!-- Event Images (Moved to left) -->

Loading…
Cancel
Save