mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
output: Improve the base template identification
See https://discourse.gohugo.io/t/main-block-not-rendered-in-custom-archetypes-layout/7917/3
This commit is contained in:
@@ -25,7 +25,7 @@ const baseFileBase = "baseof"
|
||||
|
||||
var (
|
||||
aceTemplateInnerMarkers = [][]byte{[]byte("= content")}
|
||||
goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define")}
|
||||
goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define"), []byte("{{- define"), []byte("{{-define")}
|
||||
)
|
||||
|
||||
type TemplateNames struct {
|
||||
|
Reference in New Issue
Block a user