9.18 更新文章

This commit is contained in:
小赵同学 committed 2024-09-18 10:01:46 +08:00
1 parent 26960a4e15
commit 8d7edcbb87
241 files changed
+1 -47435

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
{{ $currentTime := now }}
{{ $timeDiff := div (sub $currentTime.Unix $publishDate.Unix) 3600 }}
<!-- 判断发布时间是否小于 48 小时 -->
{{ if lt $timeDiff 48 }}
{{ if lt $timeDiff 24 }}
<span class="new-post-message"></span>
{{ end }}
</div>