From bf2036d60ccf6fdb7f0a896bf7b94d9fea48b625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Wed, 8 May 2024 15:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9A=E4=B8=80=E4=BA=9B=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 明白一些设置的意思 --- content/zh-cn/memo/61.md | 2 +- hugo.toml | 2 +- themes/farallon/layouts/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/zh-cn/memo/61.md b/content/zh-cn/memo/61.md index 34468f5..ae2b5da 100644 --- a/content/zh-cn/memo/61.md +++ b/content/zh-cn/memo/61.md @@ -1,5 +1,5 @@ --- -title: "61" +title: "无力吐槽苹果" date: 2024-05-08T11:44:57+08:00 --- 升级IOS17之后小米无线充电器就无法使用了 \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index be5e765..db6807c 100644 --- a/hugo.toml +++ b/hugo.toml @@ -36,7 +36,7 @@ theme = 'farallon' search= true description = '资深网民孙先生.' toc = true - mainSections = ['archives','memo'] + mainSections = ['posts','memo'] indexName = 'blog' searchKey = '6de51423d2ac6b29beb9a061737a85ca' searchAPPID = 'CIU4I6RWD0' diff --git a/themes/farallon/layouts/index.html b/themes/farallon/layouts/index.html index dd11466..26c9f36 100644 --- a/themes/farallon/layouts/index.html +++ b/themes/farallon/layouts/index.html @@ -14,7 +14,7 @@ {{ end }} {{ end }} - {{ $paginator := .Paginate (where .Pages "Type" "story") }} + {{ $paginator := .Paginate (where .Pages "Type" "posts") }} {{partial "pagination.html" .}} {{ end }} \ No newline at end of file