feat: enhance header context handling and add login page test
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user