From f6356f5cebe9c0d872563becb8881fc900cedf53 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 12 Sep 2021 23:20:49 +0100 Subject: [PATCH] fix: SVG header logo missing size (Lighthouse fix) See unresolved Hugo issue: https://github.com/gohugoio/hugo/issues/3700 Workaround is to manually define SVG size: site.Params.header.image.width site.Params.header.image.height --- wowchemy/layouts/partials/navbar.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wowchemy/layouts/partials/navbar.html b/wowchemy/layouts/partials/navbar.html index 5e4e6e291..3e7243e61 100644 --- a/wowchemy/layouts/partials/navbar.html +++ b/wowchemy/layouts/partials/navbar.html @@ -20,7 +20,9 @@
{{- if $has_logo -}} - {{ site.Title }} + {{ site.Title }} {{- else -}} {{- site.Title -}} {{- end -}}