Skip to content

Commit

Permalink
output: Improve the base template identification
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 11, 2017
1 parent 33ae10b commit 0019ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/layout_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0019ce0

Please sign in to comment.