diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 34a89492..daa8f821 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -50,7 +50,7 @@
{{ $jsAppearance := resources.Get "js/appearance.js" }}
- {{ $jsAppearance = $jsAppearance | resources.Minify | resources.Fingerprint "sha512" }}
+ {{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate $jsAppearance.RelPermalink . | resources.Minify | resources.Fingerprint "sha512" }}
{{ if .Site.Params.enableSearch | default false }}
diff --git a/layouts/partials/header/basic.html b/layouts/partials/header/basic.html
index 4a020e1a..c370accc 100644
--- a/layouts/partials/header/basic.html
+++ b/layouts/partials/header/basic.html
@@ -8,7 +8,7 @@
{{ .Site.Title | markdownify | emojify }}
+ class="logo max-h-[5rem] max-w-[5rem] object-scale-down object-left nozoom" alt="{{ .Site.Title }}" />