]> git.maquefel.me Git - brevno-suite/hugo/commit
resources/page: Allow section and taxonomy pages to have a permalink configuration
authorMai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
Mon, 26 Jun 2023 13:31:01 +0000 (15:31 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 13:31:01 +0000 (15:31 +0200)
commitcc14c6a52c215fc43716f7b266c4c340b3d28230
tree0d371fe0f9421d52a42e203ade99127c2d11806d
parente3308a0bbc2de1cb4d7571521abeab07049ce31f
resources/page: Allow section and taxonomy pages to have a permalink configuration

Allows using permalink configuration for sections (branch bundles) and
also for taxonomy pages. Extends the current permalink configuration to
be able to specified per page kind while also staying backward compatible:
all permalink patterns not dedicated to a certain kind, get automatically
added for both normal pages and term pages.

Fixes #8523
config/allconfig/allconfig.go
config/allconfig/alldecoders.go
hugofs/files/classifier.go
hugolib/page__paths.go
resources/page/page_generate/generate_page_wrappers.go
resources/page/permalinks.go
resources/page/permalinks_test.go
resources/page/zero_file.autogen.go
source/fileInfo.go