summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/components/publish-time-chart.html12
1 files 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 @@
<div class="time-chart-container">
<div class="time-chart-wrapper">
- <div class="time-icon">🌙</div>
+ <div class="time-icon">☀️</div>
<div class="time-chart-bar invert-if-dark">
{{ 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 }}
</div>
- <div class="time-icon">☀️</div>
+ <div class="time-icon">🌙</div>
</div>
-
+
<div class="time-counts">
{{ range $fuzzyTimes }}
{{ $count := index $timeCounts .label }}
@@ -193,7 +193,7 @@
</div>
{{ end }}
{{ end }}
-
+
{{ $lateNightCount := index $timeCounts "深夜" }}
{{ if gt $lateNightCount 0 }}
{{ $percentage := div (mul $lateNightCount 100.0) $total }}
@@ -202,4 +202,4 @@
</div>
{{ end }}
</div>
-</div> \ No newline at end of file
+</div>