mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Create pages from _content.gotmpl
Closes #12427 Closes #12485 Closes #6310 Closes #5074
This commit is contained in:
@@ -24,7 +24,7 @@ const (
|
||||
Link = "link"
|
||||
)
|
||||
|
||||
var defaultBuildConfig = BuildConfig{
|
||||
var DefaultBuildConfig = BuildConfig{
|
||||
List: Always,
|
||||
Render: Always,
|
||||
PublishResources: true,
|
||||
@@ -69,7 +69,7 @@ func (b BuildConfig) IsZero() bool {
|
||||
}
|
||||
|
||||
func DecodeBuildConfig(m any) (BuildConfig, error) {
|
||||
b := defaultBuildConfig
|
||||
b := DefaultBuildConfig
|
||||
if m == nil {
|
||||
return b, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user