From c8223a756be82bce65a730fce12d216048b61e59 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 19 Nov 2025 14:26:31 +0800 Subject: [PATCH] fix: hide back-to-top button by default in widgets --- layouts/_partials/init/index.html | 2 +- layouts/_partials/widgets.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index 751af087..f5f967ff 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.2" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251119062632-30453747" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/_partials/widgets.html b/layouts/_partials/widgets.html index 12ab82c0..9c303850 100644 --- a/layouts/_partials/widgets.html +++ b/layouts/_partials/widgets.html @@ -6,7 +6,7 @@
{{- /* back to top button */ -}} {{- if $backToTop.enable -}} -
+
{{- dict "Class" "fa-solid fa-arrow-up fa-fw" | partial "plugin/icon.html" -}} {{- if $backToTop.scrollpercent -}}