Skip to content

Commit 0f50efc

Browse files
committed
minor
1 parent b2dce08 commit 0f50efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: blocks.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func New(fs any) *Blocks {
9696
// Root "content" for the default one, so templates without layout can still be rendered.
9797
// Note that, this is parsed, the delims can be configured later on.
9898
Root: template.Must(template.New("root").
99-
Parse(`{{ define "root" }} {{ template "content" . }} {{ end }}`)),
99+
Parse(`{{ define "root" }} {{- template "content" . -}} {{ end }}`)),
100100
Templates: make(map[string]*template.Template),
101101
Layouts: make(map[string]*template.Template),
102102
reload: false,

0 commit comments

Comments
 (0)