mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
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
This commit is contained in:
@@ -93,6 +93,7 @@ const (
|
||||
ContentClassBranch ContentClass = "branch"
|
||||
ContentClassFile ContentClass = "zfile" // Sort below
|
||||
ContentClassContent ContentClass = "zcontent"
|
||||
ContentClassZero ContentClass = "zero" // Special value for zeroFile
|
||||
)
|
||||
|
||||
func (c ContentClass) IsBundle() bool {
|
||||
|
Reference in New Issue
Block a user