bug 首页只显示一篇文章 2024.7.23
This commit is contained in:
1 parent
cd78805af3
commit
a6833b2c79
80 files changed
+6071
-16667
No files matched your search
@@ -15,6 +15,9 @@ authorImage = "https://avatars.githubusercontent.com/u/94612053"
|
||||
# 自定义描述
|
||||
description = "风吹云散,云卷云舒"
|
||||
|
||||
paginate = 5
|
||||
|
||||
|
||||
# 社交链接列表
|
||||
social = [
|
||||
# GitHub 链接和图标
|
||||
@@ -53,9 +56,6 @@ name = "archives"
|
||||
weight = 20
|
||||
url = "/archives"
|
||||
|
||||
paginate = 5
|
||||
|
||||
|
||||
# 模块配置
|
||||
[module]
|
||||
# Hugo 版本要求
|
||||
|
||||
@@ -28,4 +28,4 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -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 .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