From 1aa64fcd7fb809d0772b2e1be28cb8888d6e392c Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Thu, 28 Mar 2024 02:26:32 +0000 Subject: [PATCH] chore: reduce layout shift --- layouts/partials/header.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2b742d211..a0b50ef11 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,8 +5,7 @@ {{- with .Site.Params.header.title -}} {{- with .logo -}} - {{- dict "Src" . "Class" "logo" | partial "plugin/image.html" -}} - {{- end -}} + {{- dict "Src" . "Class" "logo" "Height" "36" "Width" "36" | partial "plugin/image.html" -}} {{- end -}} {{- with .pre -}} {{ . | safeHTML }} {{- end -}}