From e4bd861f8dcdddc6e9150ed5fe17bef73b176aa5 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 12 Sep 2025 20:13:02 +0800 Subject: feat: show hoverable logo only at homepage --- layouts/_partials/header.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html index d2205e9b..814fe992 100644 --- a/layouts/_partials/header.html +++ b/layouts/_partials/header.html @@ -1,7 +1,11 @@
- {{ partial "header/hoverable-logo" . }} + {{ if .IsHome }} + {{ partial "header/hoverable-logo" . }} + {{ else }} + {{ partial "components/logo" (dict "imageClass" "w-[10rem]") }} + {{ end }}