Commit fbe96eb
committed
Resolve incorrect meta tag rendering for nested
routes (e.g., `/blog/my-first-post`) by using `firstSegment` logic in the `Meta` component.
Metadata now reflects the correct parent route instead of defaulting to `/`.1 parent f45b2c3 commit fbe96eb
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments