From 8de296971f709ae50ca6889714f9bc61c66a1c9c Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 1 Mar 2021 21:26:57 -0800 Subject: [PATCH] HTML fix: specify image height AND width in HTML Previously, only one of the two was specified. Now Lighthouse wants both --- layouts/index.html | 2 +- layouts/shortcodes/picture.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index ed5cad3..132d19a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -23,7 +23,7 @@ type="image/svg+xml"> {{ $merveilles_png_src := $merveilles_png | resources.Fingerprint "md5" -}} Merevilles logo {{ end }} diff --git a/layouts/shortcodes/picture.html b/layouts/shortcodes/picture.html index 200776c..15b482a 100644 --- a/layouts/shortcodes/picture.html +++ b/layouts/shortcodes/picture.html @@ -58,6 +58,6 @@ srcset="{{ $light_png_src.RelPermalink }}" type="image/png"> {{ .Get "alt" }}