]> git.maquefel.me Git - brevno-suite/hugo/commit
resources/page: Add :sectionslug and :sectionslugs permalink tokens
authorDustin Fischer <57132358+DustinFischer@users.noreply.github.com>
Sat, 23 Aug 2025 10:35:21 +0000 (12:35 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Aug 2025 10:35:21 +0000 (12:35 +0200)
commit12ace3ad5c60268978e25edb2919fa51c489a422
treedffb5f17ed08e51a562aaa2d9fc90b3a15902be4
parentc14fdddadabd2043934a91365759ef2c05199daa
resources/page: Add :sectionslug and :sectionslugs permalink tokens

Add slugified section permalink tokens with fallback behavior and slice syntax support.

Fixes #13788
docs/content/en/_common/permalink-tokens.md
resources/page/permalinks.go
resources/page/permalinks_integration_test.go
resources/page/permalinks_test.go
resources/page/testhelpers_test.go