diff --git a/layouts/partials/paige/func-include.html b/layouts/partials/paige/func-include.html index f9f0d2ce..a3f9d3df 100644 --- a/layouts/partials/paige/func-include.html +++ b/layouts/partials/paige/func-include.html @@ -7,7 +7,9 @@ {{ $file := print "partials/" $partial }} -{{ if templates.Exists $file }} +{{ $exists := templates.Exists $file }} + +{{ if $exists }} {{ partial $partial $page }} {{ end }}