feat: enhance header context handling and add login page test
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s

- Updated `header.html` to use `with` block for `active` context variable fallback
- Added test to verify login page renders correctly without `active` context
This commit is contained in:
2026-04-21 15:36:44 +02:00
parent 3838fa2480
commit fba29b7a6c
2 changed files with 8 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<!-- HEADER FRAGMENT -->
{% with active=active|default:'' %}
<header>
<div class="container">
<div class="header-top">
@@ -72,3 +73,4 @@
</nav>
</div>
</header>
{% endwith %}