Skip to content

Fix/mobile nav links - #101

Open
vanshaj2023 wants to merge 2 commits into
wagtail:mainfrom
vanshaj2023:fix/mobile-nav-links
Open

Fix/mobile nav links#101
vanshaj2023 wants to merge 2 commits into
wagtail:mainfrom
vanshaj2023:fix/mobile-nav-links

Conversation

@vanshaj2023

Copy link
Copy Markdown

Fixes #100

Description

Mobile navigation links had href="" on line 123 of
templates/navigation/header.html, causing all mobile menu links
to point to the current page instead of their intended destination.

The desktop navigation already correctly uses href="{{ link.value.get_url }}".
This fix applies the same pattern to the mobile nav, making both consistent.

This is a regression of #14 which was previously closed as fixed.

AI usage:

Claude (claude-sonnet-4-6) was used to help identify the regression and I located the issue and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile navigation links broken — href="" regression from #14

1 participant