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 %}
<!-- Event Header -->
<div class="event-title-container">
<h1 class="event-title">{{ self.title }}</h1>
{% if self.subtitle %}
{% if self.subtitle %}
<div class="event-title-container">
<h2 class="event-subtitle">{{ self.subtitle }}</h2>
{% endif %}
</div>
</div>
{% endif %}
<div class="row">
<!-- Event Images (Moved to left) -->

Loading…
Cancel
Save