Remove default context for resources.ExecuteAsTemplate
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
{{ if $template }}
|
{{ if $template }}
|
||||||
{{ $split := path.Split $href }}
|
{{ $split := path.Split $href }}
|
||||||
{{ $join := path.Join $split.Dir (print (sha1 $page) "-" $split.File) }}
|
{{ $join := path.Join $split.Dir (print (sha1 $page) "-" $split.File) }}
|
||||||
{{ $resource = resources.ExecuteAsTemplate $join (or $page dict) . }}
|
{{ $resource = resources.ExecuteAsTemplate $join $page . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if $sass }}
|
{{ if $sass }}
|
||||||
|
Reference in New Issue
Block a user