From fdbf5701f0cfcdd0e296cff1df99491e853424f5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 5 Mar 2023 14:58:43 -0800 Subject: [PATCH] Format link.html, script.html --- layouts/partials/paige/img.html | 5 +---- layouts/partials/paige/link.html | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) 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 }}