9.18 更新文章
This commit is contained in:
1 parent
26960a4e15
commit
8d7edcbb87
241 files changed
+1
-47435
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user