Merge pull request #2243 from GSA/2240-add-join-notify-to-the-main-nav

Add Join-Notify link to top nav
This commit is contained in:
Beverly Nguyen
2025-01-03 13:56:34 -08:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -114,6 +114,10 @@ def about_notify_nav():
},
],
},
{
"name": "Join Notify",
"link": "main.join_notify",
},
{
"name": "Contact",
"link": "main.contact",

View File

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