From e2be87d11ad81ab032b5fa81d513f438aa8af27a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 13 Oct 2019 17:22:54 +0100 Subject: [PATCH] Resize header image to reduce load times --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index a191d2f..2843188 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" }} -{{ $header_image := resources.Get "img/header.jpg" | fingerprint }} +{{ $header_image := (resources.Get "img/header.jpg" | fingerprint).Resize "720x" }}

{{ .Site.Params.author_name }}