diff --git a/layouts/partials/paige/img.html b/layouts/partials/paige/img.html index d9d9a301..3696d96a 100644 --- a/layouts/partials/paige/img.html +++ b/layouts/partials/paige/img.html @@ -27,10 +27,7 @@ {{ $intrinsicwidth := $width }} {{ if not $resource }} - {{ $resource = partial "paige/resource.html" (dict - "page" $page - "url" $src - ) }} + {{ $resource = partial "paige/resource.html" (dict "page" $page "url" $src) }} {{ end }} {{ with $resource }} diff --git a/layouts/partials/paige/link.html b/layouts/partials/paige/link.html index 15e99fc0..1c1347fa 100644 --- a/layouts/partials/paige/link.html +++ b/layouts/partials/paige/link.html @@ -18,11 +18,7 @@ {{ $resource := resources.ExecuteAsTemplate $href (or $page dict) . }} {{ if $sass }} - {{ $resource = $resource | toCSS (dict - "enableSourceMap" $enablesourcemap - "includePaths" $includepaths - "outputStyle" $outputstyle - ) }} + {{ $resource = $resource | toCSS (dict "enableSourceMap" $enablesourcemap "includePaths" $includepaths "outputStyle" $outputstyle) }} {{ end }} {{ $resource = $resource | minify | fingerprint }}