mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Fix recent regression with cascading of params to content adapters
Fixes #13743
This commit is contained in:
@@ -125,10 +125,10 @@ type PageConfig struct {
|
||||
ContentAdapterData map[string]any `mapstructure:"-" json:"-"`
|
||||
|
||||
// Compiled values.
|
||||
CascadeCompiled *maps.Ordered[page.PageMatcher, maps.Params] `mapstructure:"-" json:"-"`
|
||||
ContentMediaType media.Type `mapstructure:"-" json:"-"`
|
||||
ConfiguredOutputFormats output.Formats `mapstructure:"-" json:"-"`
|
||||
IsFromContentAdapter bool `mapstructure:"-" json:"-"`
|
||||
CascadeCompiled *maps.Ordered[page.PageMatcher, page.PageMatcherParamsConfig] `mapstructure:"-" json:"-"`
|
||||
ContentMediaType media.Type `mapstructure:"-" json:"-"`
|
||||
ConfiguredOutputFormats output.Formats `mapstructure:"-" json:"-"`
|
||||
IsFromContentAdapter bool `mapstructure:"-" json:"-"`
|
||||
}
|
||||
|
||||
func ClonePageConfigForRebuild(p *PageConfig, params map[string]any) *PageConfig {
|
||||
|
Reference in New Issue
Block a user