mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05: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:
parent
33ae10b6ad
commit
0019ce0024
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue