修复分页错误 2024.7.23
This commit is contained in:
1 parent
a6833b2c79
commit
704393f80a
248 files changed
+2
-65463
No files matched your search
@@ -15,6 +15,7 @@ authorImage = "https://avatars.githubusercontent.com/u/94612053"
|
||||
# 自定义描述
|
||||
description = "风吹云散,云卷云舒"
|
||||
|
||||
# 分页展示文章数 每页展示文章的数量
|
||||
paginate = 5
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="recent-posts section">
|
||||
<h2 class="section-header">随笔<i class="ri-quill-pen-line"></i></h2>
|
||||
<div class="posts">
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ if eq .Type "post" }}
|
||||
<div class="post">
|
||||
<div class="time">{{ .Date.Format "January 2, 2006" }}</div>
|
||||
|
||||
Reference in new issue
Block a user