Format link.html, script.html

This commit is contained in:
Will Faught
2023-03-05 14:58:43 -08:00
parent 693fe4b088
commit fdbf5701f0
2 changed files with 2 additions and 9 deletions

View File

@@ -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 }}

View File

@@ -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 }}