Files
hugo/hugolib
Joe Mooring f013346667 hugolib: Fix page/section name collision regression
Fixes #15046

When a regular page (e.g. content/s1.md) and a section (content/s1/)
share the same tree key, the assembler must not overwrite the real page
with a synthetic section. Restore the existence guard that was present
in v0.152.2.

The fix checks if a node already exists at the section key before
inserting a synthetic section during root section creation.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 16:20:34 +02:00
..
2026-03-07 18:30:42 +01:00
2022-02-23 22:43:19 +01:00
2026-03-07 18:30:42 +01:00
2026-06-07 21:20:40 +02:00
2026-05-26 13:57:12 +02:00
2026-03-07 18:30:42 +01:00
2026-03-07 18:30:42 +01:00
2020-12-03 13:12:58 +01:00
2026-03-07 18:30:42 +01:00
2026-03-07 18:30:42 +01:00