diff --git a/hugo.toml b/hugo.toml index 12bb1f1e..002e81c7 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,3 +2,5 @@ baseURL = "https://52ql.cn" languageCode = 'zh-cn' title = '小赵同学的博客' theme = 'Ying' +# 分页展示文章数 每页展示文章的数量 +paginate = 5 \ No newline at end of file diff --git a/themes/Ying/hugo.toml b/themes/Ying/hugo.toml index e8dc8f25..6d5060a2 100644 --- a/themes/Ying/hugo.toml +++ b/themes/Ying/hugo.toml @@ -18,7 +18,6 @@ description = "风吹云散,云卷云舒" # 分页展示文章数 每页展示文章的数量 paginate = 5 - # 社交链接列表 social = [ # GitHub 链接和图标 diff --git a/themes/Ying/layouts/_default/home.html b/themes/Ying/layouts/_default/home.html index ae4a2371..0edbc07c 100644 --- a/themes/Ying/layouts/_default/home.html +++ b/themes/Ying/layouts/_default/home.html @@ -4,26 +4,25 @@