disable resizer for performance

This commit is contained in:
Spedon
2023-03-20 21:58:09 +08:00
parent eabecd860c
commit 843e9bb24e

View File

@@ -27,9 +27,9 @@
{{ $resize := .Resize "x2000 webp Lanczos q70" }} {{ $resize := .Resize "x2000 webp Lanczos q70" }}
{{ $.Scratch.Add "img" (dict {{ $.Scratch.Add "img" (dict
"index" (string $index) "index" (string $index)
"url" (string $resize.RelPermalink) "url" (string .RelPermalink)
"imgH" (string $resize.Height) "imgH" (string .Height)
"imgW" (string $resize.Width) "imgW" (string .Width)
"pColor" (string $pColor) "pColor" (string $pColor)
"sColor" (string $sColor)) }} "sColor" (string $sColor)) }}
{{ end }} {{ end }}