mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Bump all long-living deprecations to ERRORs
This commit is contained in:
@@ -163,7 +163,7 @@ func generateDeprecatedWrappers(c *codegen.Inspector) error {
|
||||
}
|
||||
}
|
||||
|
||||
return fmt.Sprintf("helpers.Deprecated(%q, %q, false)", "Page."+name, alternative)
|
||||
return fmt.Sprintf("helpers.Deprecated(%q, %q, true)", "Page."+name, alternative)
|
||||
}
|
||||
|
||||
var buff bytes.Buffer
|
||||
|
Reference in New Issue
Block a user