mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00: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:
1 parent
33ae10b6ad
commit
0019ce0024
1 file changed
+1
-1
@@ -25,7 +25,7 @@ const baseFileBase = "baseof"
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
aceTemplateInnerMarkers = [][]byte{[]byte("= content")}
|
aceTemplateInnerMarkers = [][]byte{[]byte("= content")}
|
||||||
goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define")}
|
goTemplateInnerMarkers = [][]byte{[]byte("{{define"), []byte("{{ define"), []byte("{{- define"), []byte("{{-define")}
|
||||||
)
|
)
|
||||||
|
|
||||||
type TemplateNames struct {
|
type TemplateNames struct {
|
||||||
|
|||||||
Reference in new issue
Block a user