From ef7f6f96934eaa33554e3efb861eecf9d84e818d Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 27 Jun 2025 22:57:30 +0800 Subject: fix: misplaced sun and moon icon in stats page Former-commit-id: c228d56e05461bd8bd9383c8d8a07df711f2703d --- layouts/partials/components/publish-time-chart.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/components/publish-time-chart.html b/layouts/partials/components/publish-time-chart.html index f6a534df..45de208c 100644 --- a/layouts/partials/components/publish-time-chart.html +++ b/layouts/partials/components/publish-time-chart.html @@ -151,7 +151,7 @@
-
🌙
+
☀️
{{ range $fuzzyTimes }} {{ $count := index $timeCounts .label }} @@ -166,7 +166,7 @@ {{ end }} {{ end }} {{ end }} - + {{/* 深夜时间段 */}} {{ $lateNightCount := index $timeCounts "深夜" }} {{ if gt $total 0 }} @@ -180,9 +180,9 @@ {{ end }} {{ end }}
-
☀️
+
🌙
- +
{{ range $fuzzyTimes }} {{ $count := index $timeCounts .label }} @@ -193,7 +193,7 @@
{{ end }} {{ end }} - + {{ $lateNightCount := index $timeCounts "深夜" }} {{ if gt $lateNightCount 0 }} {{ $percentage := div (mul $lateNightCount 100.0) $total }} @@ -202,4 +202,4 @@
{{ end }} - \ No newline at end of file + -- cgit v1.2.3