Fixed bugs with sidenav

This commit is contained in:
alexjanousekGSA
2025-01-10 16:06:55 -04:00
parent 168d93a170
commit 817477bd72
4 changed files with 47 additions and 29 deletions

View File

@@ -39,7 +39,7 @@
{% if FEATURE_ABOUT_PAGE_ENABLED %}
{% set navigation = navigation + [
{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path == '/about'},
{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path.startswith('/about')},
{"href": url_for('main.join_notify'), "text": "Join Notify", "active": request.path == '/join-notify'},
{"href": url_for('main.contact'), "text": "Contact us", "active": request.path == '/contact'}
] %}