Commit 53bf546
fix: prevent duplicate navbar on 404 page (#9862)
Override the page-header slot in 404.astro to explicitly render
Navigation once, preventing duplication when Astro.rewrite('/404')
is called from dynamic route pages.
Fixes #9841
Co-authored-by: Your Name <your@email.com>1 parent b6bb724 commit 53bf546
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments