From 843e9bb24e0b03b0c19cb90fed91b93778f733b5 Mon Sep 17 00:00:00 2001 From: Spedon Date: Mon, 20 Mar 2023 21:58:09 +0800 Subject: [PATCH] disable resizer for performance --- layouts/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 6316449..c29be46 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -27,9 +27,9 @@ {{ $resize := .Resize "x2000 webp Lanczos q70" }} {{ $.Scratch.Add "img" (dict "index" (string $index) - "url" (string $resize.RelPermalink) - "imgH" (string $resize.Height) - "imgW" (string $resize.Width) + "url" (string .RelPermalink) + "imgH" (string .Height) + "imgW" (string .Width) "pColor" (string $pColor) "sColor" (string $sColor)) }} {{ end }}