From 2a3bb459f6bb58295596ffa42fd9b6974aff0c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Mon, 6 May 2024 17:30:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/zh-cn/archives/_index.md | 6 ++--- content/zh-cn/categories/_index.md | 4 ++-- content/zh-cn/categories/分享/_index.md | 5 ++++ content/zh-cn/categories/吐槽/_index.md | 5 ++++ content/zh-cn/categories/日记/_index.md | 5 ++++ content/zh-cn/categories/测试/_index.md | 5 ++++ content/zh-cn/memo/{life8月27.md => 1.md} | 0 content/zh-cn/memo/{life拳头.md => 10.md} | 0 content/zh-cn/memo/{life热.md => 11.md} | 0 content/zh-cn/memo/{life上海.md => 12.md} | 0 content/zh-cn/memo/{life下雨了.md => 13.md} | 0 .../zh-cn/memo/{life写在30岁之后.md => 14.md} | 0 .../memo/{life写在感恩节的话.md => 15.md} | 0 .../memo/{life写在加班结束前.md => 16.md} | 0 .../memo/{life写在愚人节之后.md => 17.md} | 0 .../zh-cn/memo/{life新的一年2017.md => 18.md} | 0 .../zh-cn/memo/{life又是一年冬季.md => 19.md} | 0 content/zh-cn/memo/{life2006-2016.md => 2.md} | 0 .../zh-cn/memo/{life中秋节快乐.md => 20.md} | 0 content/zh-cn/memo/{life周日.md => 21.md} | 0 content/zh-cn/memo/{xiao-qi-1.md => 22.md} | 0 .../memo/{zhu-hai-de-zao-chen.md => 23.md} | 0 ...12月8日终于全国防疫放开管控了.md => 3.md} | 0 .../memo/{life半年没有更新博客了.md => 4.md} | 0 .../memo/{life到深圳的第一天.md => 5.md} | 0 content/zh-cn/memo/{life冬日-武汉.md => 6.md} | 0 .../memo/{life还有两天就过完2016.md => 7.md} | 0 .../zh-cn/memo/{life黄易先生逝世.md => 8.md} | 0 content/zh-cn/memo/{life平安夜.md => 9.md} | 0 content/zh-cn/memos/_index.md | 6 +++++ content/zh-cn/movies/_index.md | 2 +- .../Linuxcentos7安装后没有网络.md | 0 .../Note-微信也出企业版了.md | 0 .../Windows-Git在windows下区分大小写.md | 0 ...-the-league-finals-of-the-league-finals.md | 0 .../{archives => posts}/happy-fathers-day.md | 0 .../happy-midautumn-day.md | 0 ...ppy-new-year-auspicious-year-of-the-pig.md | 0 .../istoreos科学上网插件.md | 0 .../jginyuex99mplusd3hackintosh.md | 0 .../life15级强台风山竹即将登陆广东.md | 0 .../life一个时代终将落幕.md | 0 .../zh-cn/{archives => posts}/life一周之始.md | 0 .../life中国式相亲之现状.md | 0 .../zh-cn/{archives => posts}/life关于网恋.md | 0 .../life关于英雄联盟S8八强对抗的预测.md | 0 .../life写在MSI季中冠军赛RNG夺冠之后.md | 0 content/zh-cn/{archives => posts}/life十年.md | 0 .../zh-cn/{archives => posts}/life压力山大.md | 0 .../zh-cn/{archives => posts}/life又是拳头.md | 0 .../zh-cn/{archives => posts}/life圣诞节.md | 0 .../life得之我幸失之我命.md | 0 .../life我们是如何变得平庸.md | 0 .../zh-cn/{archives => posts}/life我的梦想.md | 0 .../life现实就是这么现实.md | 0 .../macOS一键安装homebrew国内镜像.md | 0 .../memos-api-call-rendering-page.md | 0 .../small-sheep-snh48-xu-yang-yuzhuo.md | 0 ...ature-error-in-xcode-compiling-applealc.md | 0 ...g-the-planned-task-to-solve-the-problem.md | 0 .../the-goddess-of-god-is-an-ethical-novel.md | 0 .../{archives => posts}/typecho头像加速.md | 0 content/zh-cn/{archives => posts}/undead.md | 0 .../unlimit-maximum-word-count-for-typecho.md | 0 .../wechat-keyboard-online.md | 0 .../ypecho文章内的超链接在新窗口打开.md | 0 .../为Memos增加twikoo评论.md | 0 .../国内注册ChatGPT的方法.md | 0 .../在fly-io部署Memos并自动备份数据库.md | 0 .../在fly.io部署Gotosocial.md | 0 .../在fly部署artalk评论系统.md | 0 .../zh-cn/{archives => posts}/巨械师黑苹果.md | 0 .../zh-cn/{archives => posts}/求婚大作战.md | 0 content/zh-cn/{archives => posts}/深夜食堂.md | 0 .../zh-cn/{archives => posts}/端午节祝词.md | 0 .../{archives => posts}/精粤H97黑苹果.md | 0 .../群晖docker出现注册表无法访问的解决办法.md | 0 content/zh-cn/{archives => posts}/迷思.md | 0 hugo.toml | 6 +++-- layouts/section/archives.html | 24 +++++++++++++++++++ 80 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 content/zh-cn/categories/分享/_index.md create mode 100644 content/zh-cn/categories/吐槽/_index.md create mode 100644 content/zh-cn/categories/日记/_index.md create mode 100644 content/zh-cn/categories/测试/_index.md rename content/zh-cn/memo/{life8月27.md => 1.md} (100%) rename content/zh-cn/memo/{life拳头.md => 10.md} (100%) rename content/zh-cn/memo/{life热.md => 11.md} (100%) rename content/zh-cn/memo/{life上海.md => 12.md} (100%) rename content/zh-cn/memo/{life下雨了.md => 13.md} (100%) rename content/zh-cn/memo/{life写在30岁之后.md => 14.md} (100%) rename content/zh-cn/memo/{life写在感恩节的话.md => 15.md} (100%) rename content/zh-cn/memo/{life写在加班结束前.md => 16.md} (100%) rename content/zh-cn/memo/{life写在愚人节之后.md => 17.md} (100%) rename content/zh-cn/memo/{life新的一年2017.md => 18.md} (100%) rename content/zh-cn/memo/{life又是一年冬季.md => 19.md} (100%) rename content/zh-cn/memo/{life2006-2016.md => 2.md} (100%) rename content/zh-cn/memo/{life中秋节快乐.md => 20.md} (100%) rename content/zh-cn/memo/{life周日.md => 21.md} (100%) rename content/zh-cn/memo/{xiao-qi-1.md => 22.md} (100%) rename content/zh-cn/memo/{zhu-hai-de-zao-chen.md => 23.md} (100%) rename content/zh-cn/memo/{life2022年12月8日终于全国防疫放开管控了.md => 3.md} (100%) rename content/zh-cn/memo/{life半年没有更新博客了.md => 4.md} (100%) rename content/zh-cn/memo/{life到深圳的第一天.md => 5.md} (100%) rename content/zh-cn/memo/{life冬日-武汉.md => 6.md} (100%) rename content/zh-cn/memo/{life还有两天就过完2016.md => 7.md} (100%) rename content/zh-cn/memo/{life黄易先生逝世.md => 8.md} (100%) rename content/zh-cn/memo/{life平安夜.md => 9.md} (100%) create mode 100644 content/zh-cn/memos/_index.md rename content/zh-cn/{archives => posts}/Linuxcentos7安装后没有网络.md (100%) rename content/zh-cn/{archives => posts}/Note-微信也出企业版了.md (100%) rename content/zh-cn/{archives => posts}/Windows-Git在windows下区分大小写.md (100%) rename content/zh-cn/{archives => posts}/after-the-league-finals-of-the-league-finals.md (100%) rename content/zh-cn/{archives => posts}/happy-fathers-day.md (100%) rename content/zh-cn/{archives => posts}/happy-midautumn-day.md (100%) rename content/zh-cn/{archives => posts}/happy-new-year-auspicious-year-of-the-pig.md (100%) rename content/zh-cn/{archives => posts}/istoreos科学上网插件.md (100%) rename content/zh-cn/{archives => posts}/jginyuex99mplusd3hackintosh.md (100%) rename content/zh-cn/{archives => posts}/life15级强台风山竹即将登陆广东.md (100%) rename content/zh-cn/{archives => posts}/life一个时代终将落幕.md (100%) rename content/zh-cn/{archives => posts}/life一周之始.md (100%) rename content/zh-cn/{archives => posts}/life中国式相亲之现状.md (100%) rename content/zh-cn/{archives => posts}/life关于网恋.md (100%) rename content/zh-cn/{archives => posts}/life关于英雄联盟S8八强对抗的预测.md (100%) rename content/zh-cn/{archives => posts}/life写在MSI季中冠军赛RNG夺冠之后.md (100%) rename content/zh-cn/{archives => posts}/life十年.md (100%) rename content/zh-cn/{archives => posts}/life压力山大.md (100%) rename content/zh-cn/{archives => posts}/life又是拳头.md (100%) rename content/zh-cn/{archives => posts}/life圣诞节.md (100%) rename content/zh-cn/{archives => posts}/life得之我幸失之我命.md (100%) rename content/zh-cn/{archives => posts}/life我们是如何变得平庸.md (100%) rename content/zh-cn/{archives => posts}/life我的梦想.md (100%) rename content/zh-cn/{archives => posts}/life现实就是这么现实.md (100%) rename content/zh-cn/{archives => posts}/macOS一键安装homebrew国内镜像.md (100%) rename content/zh-cn/{archives => posts}/memos-api-call-rendering-page.md (100%) rename content/zh-cn/{archives => posts}/small-sheep-snh48-xu-yang-yuzhuo.md (100%) rename content/zh-cn/{archives => posts}/solution-to-signature-error-in-xcode-compiling-applealc.md (100%) rename content/zh-cn/{archives => posts}/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md (100%) rename content/zh-cn/{archives => posts}/the-goddess-of-god-is-an-ethical-novel.md (100%) rename content/zh-cn/{archives => posts}/typecho头像加速.md (100%) rename content/zh-cn/{archives => posts}/undead.md (100%) rename content/zh-cn/{archives => posts}/unlimit-maximum-word-count-for-typecho.md (100%) rename content/zh-cn/{archives => posts}/wechat-keyboard-online.md (100%) rename content/zh-cn/{archives => posts}/ypecho文章内的超链接在新窗口打开.md (100%) rename content/zh-cn/{archives => posts}/为Memos增加twikoo评论.md (100%) rename content/zh-cn/{archives => posts}/国内注册ChatGPT的方法.md (100%) rename content/zh-cn/{archives => posts}/在fly-io部署Memos并自动备份数据库.md (100%) rename content/zh-cn/{archives => posts}/在fly.io部署Gotosocial.md (100%) rename content/zh-cn/{archives => posts}/在fly部署artalk评论系统.md (100%) rename content/zh-cn/{archives => posts}/巨械师黑苹果.md (100%) rename content/zh-cn/{archives => posts}/求婚大作战.md (100%) rename content/zh-cn/{archives => posts}/深夜食堂.md (100%) rename content/zh-cn/{archives => posts}/端午节祝词.md (100%) rename content/zh-cn/{archives => posts}/精粤H97黑苹果.md (100%) rename content/zh-cn/{archives => posts}/群晖docker出现注册表无法访问的解决办法.md (100%) rename content/zh-cn/{archives => posts}/迷思.md (100%) create mode 100644 layouts/section/archives.html diff --git a/content/zh-cn/archives/_index.md b/content/zh-cn/archives/_index.md index bd11d53..42edb09 100644 --- a/content/zh-cn/archives/_index.md +++ b/content/zh-cn/archives/_index.md @@ -1,8 +1,6 @@ --- title: "文章归档" -menu: - main: - name: 文章 - weight: 10 +layout: "posts" + --- \ No newline at end of file diff --git a/content/zh-cn/categories/_index.md b/content/zh-cn/categories/_index.md index 53050b2..346e146 100644 --- a/content/zh-cn/categories/_index.md +++ b/content/zh-cn/categories/_index.md @@ -1,4 +1,4 @@ --- -title: "Explore topics" -description: "hi" +title: "分类" +description: "topics" --- diff --git a/content/zh-cn/categories/分享/_index.md b/content/zh-cn/categories/分享/_index.md new file mode 100644 index 0000000..26464da --- /dev/null +++ b/content/zh-cn/categories/分享/_index.md @@ -0,0 +1,5 @@ +--- +title: "分享" +description: "分享心得,教程,资源,项目等等" +cover: "https://static.fatesinger.com/2021/12/vhp6eou5x2wqh2zy.jpg" +--- \ No newline at end of file diff --git a/content/zh-cn/categories/吐槽/_index.md b/content/zh-cn/categories/吐槽/_index.md new file mode 100644 index 0000000..8e63635 --- /dev/null +++ b/content/zh-cn/categories/吐槽/_index.md @@ -0,0 +1,5 @@ +--- +title: "吐槽" +description: "垃圾话" +cover: "https://static.fatesinger.com/2021/12/vhp6eou5x2wqh2zy.jpg" +--- \ No newline at end of file diff --git a/content/zh-cn/categories/日记/_index.md b/content/zh-cn/categories/日记/_index.md new file mode 100644 index 0000000..888e289 --- /dev/null +++ b/content/zh-cn/categories/日记/_index.md @@ -0,0 +1,5 @@ +--- +title: "日记" +description: "记录日常" +cover: "https://static.fatesinger.com/2021/12/vhp6eou5x2wqh2zy.jpg" +--- \ No newline at end of file diff --git a/content/zh-cn/categories/测试/_index.md b/content/zh-cn/categories/测试/_index.md new file mode 100644 index 0000000..20a833e --- /dev/null +++ b/content/zh-cn/categories/测试/_index.md @@ -0,0 +1,5 @@ +--- +title: "测试" +description: "偶尔测试一些好玩的项目" +cover: "https://static.fatesinger.com/2021/12/vhp6eou5x2wqh2zy.jpg" +--- \ No newline at end of file diff --git a/content/zh-cn/memo/life8月27.md b/content/zh-cn/memo/1.md similarity index 100% rename from content/zh-cn/memo/life8月27.md rename to content/zh-cn/memo/1.md diff --git a/content/zh-cn/memo/life拳头.md b/content/zh-cn/memo/10.md similarity index 100% rename from content/zh-cn/memo/life拳头.md rename to content/zh-cn/memo/10.md diff --git a/content/zh-cn/memo/life热.md b/content/zh-cn/memo/11.md similarity index 100% rename from content/zh-cn/memo/life热.md rename to content/zh-cn/memo/11.md diff --git a/content/zh-cn/memo/life上海.md b/content/zh-cn/memo/12.md similarity index 100% rename from content/zh-cn/memo/life上海.md rename to content/zh-cn/memo/12.md diff --git a/content/zh-cn/memo/life下雨了.md b/content/zh-cn/memo/13.md similarity index 100% rename from content/zh-cn/memo/life下雨了.md rename to content/zh-cn/memo/13.md diff --git a/content/zh-cn/memo/life写在30岁之后.md b/content/zh-cn/memo/14.md similarity index 100% rename from content/zh-cn/memo/life写在30岁之后.md rename to content/zh-cn/memo/14.md diff --git a/content/zh-cn/memo/life写在感恩节的话.md b/content/zh-cn/memo/15.md similarity index 100% rename from content/zh-cn/memo/life写在感恩节的话.md rename to content/zh-cn/memo/15.md diff --git a/content/zh-cn/memo/life写在加班结束前.md b/content/zh-cn/memo/16.md similarity index 100% rename from content/zh-cn/memo/life写在加班结束前.md rename to content/zh-cn/memo/16.md diff --git a/content/zh-cn/memo/life写在愚人节之后.md b/content/zh-cn/memo/17.md similarity index 100% rename from content/zh-cn/memo/life写在愚人节之后.md rename to content/zh-cn/memo/17.md diff --git a/content/zh-cn/memo/life新的一年2017.md b/content/zh-cn/memo/18.md similarity index 100% rename from content/zh-cn/memo/life新的一年2017.md rename to content/zh-cn/memo/18.md diff --git a/content/zh-cn/memo/life又是一年冬季.md b/content/zh-cn/memo/19.md similarity index 100% rename from content/zh-cn/memo/life又是一年冬季.md rename to content/zh-cn/memo/19.md diff --git a/content/zh-cn/memo/life2006-2016.md b/content/zh-cn/memo/2.md similarity index 100% rename from content/zh-cn/memo/life2006-2016.md rename to content/zh-cn/memo/2.md diff --git a/content/zh-cn/memo/life中秋节快乐.md b/content/zh-cn/memo/20.md similarity index 100% rename from content/zh-cn/memo/life中秋节快乐.md rename to content/zh-cn/memo/20.md diff --git a/content/zh-cn/memo/life周日.md b/content/zh-cn/memo/21.md similarity index 100% rename from content/zh-cn/memo/life周日.md rename to content/zh-cn/memo/21.md diff --git a/content/zh-cn/memo/xiao-qi-1.md b/content/zh-cn/memo/22.md similarity index 100% rename from content/zh-cn/memo/xiao-qi-1.md rename to content/zh-cn/memo/22.md diff --git a/content/zh-cn/memo/zhu-hai-de-zao-chen.md b/content/zh-cn/memo/23.md similarity index 100% rename from content/zh-cn/memo/zhu-hai-de-zao-chen.md rename to content/zh-cn/memo/23.md diff --git a/content/zh-cn/memo/life2022年12月8日终于全国防疫放开管控了.md b/content/zh-cn/memo/3.md similarity index 100% rename from content/zh-cn/memo/life2022年12月8日终于全国防疫放开管控了.md rename to content/zh-cn/memo/3.md diff --git a/content/zh-cn/memo/life半年没有更新博客了.md b/content/zh-cn/memo/4.md similarity index 100% rename from content/zh-cn/memo/life半年没有更新博客了.md rename to content/zh-cn/memo/4.md diff --git a/content/zh-cn/memo/life到深圳的第一天.md b/content/zh-cn/memo/5.md similarity index 100% rename from content/zh-cn/memo/life到深圳的第一天.md rename to content/zh-cn/memo/5.md diff --git a/content/zh-cn/memo/life冬日-武汉.md b/content/zh-cn/memo/6.md similarity index 100% rename from content/zh-cn/memo/life冬日-武汉.md rename to content/zh-cn/memo/6.md diff --git a/content/zh-cn/memo/life还有两天就过完2016.md b/content/zh-cn/memo/7.md similarity index 100% rename from content/zh-cn/memo/life还有两天就过完2016.md rename to content/zh-cn/memo/7.md diff --git a/content/zh-cn/memo/life黄易先生逝世.md b/content/zh-cn/memo/8.md similarity index 100% rename from content/zh-cn/memo/life黄易先生逝世.md rename to content/zh-cn/memo/8.md diff --git a/content/zh-cn/memo/life平安夜.md b/content/zh-cn/memo/9.md similarity index 100% rename from content/zh-cn/memo/life平安夜.md rename to content/zh-cn/memo/9.md diff --git a/content/zh-cn/memos/_index.md b/content/zh-cn/memos/_index.md new file mode 100644 index 0000000..a978c5b --- /dev/null +++ b/content/zh-cn/memos/_index.md @@ -0,0 +1,6 @@ +--- +title: "说说" +layout: "memo" + +--- + \ No newline at end of file diff --git a/content/zh-cn/movies/_index.md b/content/zh-cn/movies/_index.md index 4bc9903..93bb504 100644 --- a/content/zh-cn/movies/_index.md +++ b/content/zh-cn/movies/_index.md @@ -1,5 +1,5 @@ --- title: "书影音游" -description: "hi" +description: "豆瓣" token: "322dba2a3a27524b97c06d941d9631d153fc" --- diff --git a/content/zh-cn/archives/Linuxcentos7安装后没有网络.md b/content/zh-cn/posts/Linuxcentos7安装后没有网络.md similarity index 100% rename from content/zh-cn/archives/Linuxcentos7安装后没有网络.md rename to content/zh-cn/posts/Linuxcentos7安装后没有网络.md diff --git a/content/zh-cn/archives/Note-微信也出企业版了.md b/content/zh-cn/posts/Note-微信也出企业版了.md similarity index 100% rename from content/zh-cn/archives/Note-微信也出企业版了.md rename to content/zh-cn/posts/Note-微信也出企业版了.md diff --git a/content/zh-cn/archives/Windows-Git在windows下区分大小写.md b/content/zh-cn/posts/Windows-Git在windows下区分大小写.md similarity index 100% rename from content/zh-cn/archives/Windows-Git在windows下区分大小写.md rename to content/zh-cn/posts/Windows-Git在windows下区分大小写.md diff --git a/content/zh-cn/archives/after-the-league-finals-of-the-league-finals.md b/content/zh-cn/posts/after-the-league-finals-of-the-league-finals.md similarity index 100% rename from content/zh-cn/archives/after-the-league-finals-of-the-league-finals.md rename to content/zh-cn/posts/after-the-league-finals-of-the-league-finals.md diff --git a/content/zh-cn/archives/happy-fathers-day.md b/content/zh-cn/posts/happy-fathers-day.md similarity index 100% rename from content/zh-cn/archives/happy-fathers-day.md rename to content/zh-cn/posts/happy-fathers-day.md diff --git a/content/zh-cn/archives/happy-midautumn-day.md b/content/zh-cn/posts/happy-midautumn-day.md similarity index 100% rename from content/zh-cn/archives/happy-midautumn-day.md rename to content/zh-cn/posts/happy-midautumn-day.md diff --git a/content/zh-cn/archives/happy-new-year-auspicious-year-of-the-pig.md b/content/zh-cn/posts/happy-new-year-auspicious-year-of-the-pig.md similarity index 100% rename from content/zh-cn/archives/happy-new-year-auspicious-year-of-the-pig.md rename to content/zh-cn/posts/happy-new-year-auspicious-year-of-the-pig.md diff --git a/content/zh-cn/archives/istoreos科学上网插件.md b/content/zh-cn/posts/istoreos科学上网插件.md similarity index 100% rename from content/zh-cn/archives/istoreos科学上网插件.md rename to content/zh-cn/posts/istoreos科学上网插件.md diff --git a/content/zh-cn/archives/jginyuex99mplusd3hackintosh.md b/content/zh-cn/posts/jginyuex99mplusd3hackintosh.md similarity index 100% rename from content/zh-cn/archives/jginyuex99mplusd3hackintosh.md rename to content/zh-cn/posts/jginyuex99mplusd3hackintosh.md diff --git a/content/zh-cn/archives/life15级强台风山竹即将登陆广东.md b/content/zh-cn/posts/life15级强台风山竹即将登陆广东.md similarity index 100% rename from content/zh-cn/archives/life15级强台风山竹即将登陆广东.md rename to content/zh-cn/posts/life15级强台风山竹即将登陆广东.md diff --git a/content/zh-cn/archives/life一个时代终将落幕.md b/content/zh-cn/posts/life一个时代终将落幕.md similarity index 100% rename from content/zh-cn/archives/life一个时代终将落幕.md rename to content/zh-cn/posts/life一个时代终将落幕.md diff --git a/content/zh-cn/archives/life一周之始.md b/content/zh-cn/posts/life一周之始.md similarity index 100% rename from content/zh-cn/archives/life一周之始.md rename to content/zh-cn/posts/life一周之始.md diff --git a/content/zh-cn/archives/life中国式相亲之现状.md b/content/zh-cn/posts/life中国式相亲之现状.md similarity index 100% rename from content/zh-cn/archives/life中国式相亲之现状.md rename to content/zh-cn/posts/life中国式相亲之现状.md diff --git a/content/zh-cn/archives/life关于网恋.md b/content/zh-cn/posts/life关于网恋.md similarity index 100% rename from content/zh-cn/archives/life关于网恋.md rename to content/zh-cn/posts/life关于网恋.md diff --git a/content/zh-cn/archives/life关于英雄联盟S8八强对抗的预测.md b/content/zh-cn/posts/life关于英雄联盟S8八强对抗的预测.md similarity index 100% rename from content/zh-cn/archives/life关于英雄联盟S8八强对抗的预测.md rename to content/zh-cn/posts/life关于英雄联盟S8八强对抗的预测.md diff --git a/content/zh-cn/archives/life写在MSI季中冠军赛RNG夺冠之后.md b/content/zh-cn/posts/life写在MSI季中冠军赛RNG夺冠之后.md similarity index 100% rename from content/zh-cn/archives/life写在MSI季中冠军赛RNG夺冠之后.md rename to content/zh-cn/posts/life写在MSI季中冠军赛RNG夺冠之后.md diff --git a/content/zh-cn/archives/life十年.md b/content/zh-cn/posts/life十年.md similarity index 100% rename from content/zh-cn/archives/life十年.md rename to content/zh-cn/posts/life十年.md diff --git a/content/zh-cn/archives/life压力山大.md b/content/zh-cn/posts/life压力山大.md similarity index 100% rename from content/zh-cn/archives/life压力山大.md rename to content/zh-cn/posts/life压力山大.md diff --git a/content/zh-cn/archives/life又是拳头.md b/content/zh-cn/posts/life又是拳头.md similarity index 100% rename from content/zh-cn/archives/life又是拳头.md rename to content/zh-cn/posts/life又是拳头.md diff --git a/content/zh-cn/archives/life圣诞节.md b/content/zh-cn/posts/life圣诞节.md similarity index 100% rename from content/zh-cn/archives/life圣诞节.md rename to content/zh-cn/posts/life圣诞节.md diff --git a/content/zh-cn/archives/life得之我幸失之我命.md b/content/zh-cn/posts/life得之我幸失之我命.md similarity index 100% rename from content/zh-cn/archives/life得之我幸失之我命.md rename to content/zh-cn/posts/life得之我幸失之我命.md diff --git a/content/zh-cn/archives/life我们是如何变得平庸.md b/content/zh-cn/posts/life我们是如何变得平庸.md similarity index 100% rename from content/zh-cn/archives/life我们是如何变得平庸.md rename to content/zh-cn/posts/life我们是如何变得平庸.md diff --git a/content/zh-cn/archives/life我的梦想.md b/content/zh-cn/posts/life我的梦想.md similarity index 100% rename from content/zh-cn/archives/life我的梦想.md rename to content/zh-cn/posts/life我的梦想.md diff --git a/content/zh-cn/archives/life现实就是这么现实.md b/content/zh-cn/posts/life现实就是这么现实.md similarity index 100% rename from content/zh-cn/archives/life现实就是这么现实.md rename to content/zh-cn/posts/life现实就是这么现实.md diff --git a/content/zh-cn/archives/macOS一键安装homebrew国内镜像.md b/content/zh-cn/posts/macOS一键安装homebrew国内镜像.md similarity index 100% rename from content/zh-cn/archives/macOS一键安装homebrew国内镜像.md rename to content/zh-cn/posts/macOS一键安装homebrew国内镜像.md diff --git a/content/zh-cn/archives/memos-api-call-rendering-page.md b/content/zh-cn/posts/memos-api-call-rendering-page.md similarity index 100% rename from content/zh-cn/archives/memos-api-call-rendering-page.md rename to content/zh-cn/posts/memos-api-call-rendering-page.md diff --git a/content/zh-cn/archives/small-sheep-snh48-xu-yang-yuzhuo.md b/content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md similarity index 100% rename from content/zh-cn/archives/small-sheep-snh48-xu-yang-yuzhuo.md rename to content/zh-cn/posts/small-sheep-snh48-xu-yang-yuzhuo.md diff --git a/content/zh-cn/archives/solution-to-signature-error-in-xcode-compiling-applealc.md b/content/zh-cn/posts/solution-to-signature-error-in-xcode-compiling-applealc.md similarity index 100% rename from content/zh-cn/archives/solution-to-signature-error-in-xcode-compiling-applealc.md rename to content/zh-cn/posts/solution-to-signature-error-in-xcode-compiling-applealc.md diff --git a/content/zh-cn/archives/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md b/content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md similarity index 100% rename from content/zh-cn/archives/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md rename to content/zh-cn/posts/sometimes-the-pagoda-panel-database-automatically-stops-using-the-planned-task-to-solve-the-problem.md diff --git a/content/zh-cn/archives/the-goddess-of-god-is-an-ethical-novel.md b/content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md similarity index 100% rename from content/zh-cn/archives/the-goddess-of-god-is-an-ethical-novel.md rename to content/zh-cn/posts/the-goddess-of-god-is-an-ethical-novel.md diff --git a/content/zh-cn/archives/typecho头像加速.md b/content/zh-cn/posts/typecho头像加速.md similarity index 100% rename from content/zh-cn/archives/typecho头像加速.md rename to content/zh-cn/posts/typecho头像加速.md diff --git a/content/zh-cn/archives/undead.md b/content/zh-cn/posts/undead.md similarity index 100% rename from content/zh-cn/archives/undead.md rename to content/zh-cn/posts/undead.md diff --git a/content/zh-cn/archives/unlimit-maximum-word-count-for-typecho.md b/content/zh-cn/posts/unlimit-maximum-word-count-for-typecho.md similarity index 100% rename from content/zh-cn/archives/unlimit-maximum-word-count-for-typecho.md rename to content/zh-cn/posts/unlimit-maximum-word-count-for-typecho.md diff --git a/content/zh-cn/archives/wechat-keyboard-online.md b/content/zh-cn/posts/wechat-keyboard-online.md similarity index 100% rename from content/zh-cn/archives/wechat-keyboard-online.md rename to content/zh-cn/posts/wechat-keyboard-online.md diff --git a/content/zh-cn/archives/ypecho文章内的超链接在新窗口打开.md b/content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md similarity index 100% rename from content/zh-cn/archives/ypecho文章内的超链接在新窗口打开.md rename to content/zh-cn/posts/ypecho文章内的超链接在新窗口打开.md diff --git a/content/zh-cn/archives/为Memos增加twikoo评论.md b/content/zh-cn/posts/为Memos增加twikoo评论.md similarity index 100% rename from content/zh-cn/archives/为Memos增加twikoo评论.md rename to content/zh-cn/posts/为Memos增加twikoo评论.md diff --git a/content/zh-cn/archives/国内注册ChatGPT的方法.md b/content/zh-cn/posts/国内注册ChatGPT的方法.md similarity index 100% rename from content/zh-cn/archives/国内注册ChatGPT的方法.md rename to content/zh-cn/posts/国内注册ChatGPT的方法.md diff --git a/content/zh-cn/archives/在fly-io部署Memos并自动备份数据库.md b/content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md similarity index 100% rename from content/zh-cn/archives/在fly-io部署Memos并自动备份数据库.md rename to content/zh-cn/posts/在fly-io部署Memos并自动备份数据库.md diff --git a/content/zh-cn/archives/在fly.io部署Gotosocial.md b/content/zh-cn/posts/在fly.io部署Gotosocial.md similarity index 100% rename from content/zh-cn/archives/在fly.io部署Gotosocial.md rename to content/zh-cn/posts/在fly.io部署Gotosocial.md diff --git a/content/zh-cn/archives/在fly部署artalk评论系统.md b/content/zh-cn/posts/在fly部署artalk评论系统.md similarity index 100% rename from content/zh-cn/archives/在fly部署artalk评论系统.md rename to content/zh-cn/posts/在fly部署artalk评论系统.md diff --git a/content/zh-cn/archives/巨械师黑苹果.md b/content/zh-cn/posts/巨械师黑苹果.md similarity index 100% rename from content/zh-cn/archives/巨械师黑苹果.md rename to content/zh-cn/posts/巨械师黑苹果.md diff --git a/content/zh-cn/archives/求婚大作战.md b/content/zh-cn/posts/求婚大作战.md similarity index 100% rename from content/zh-cn/archives/求婚大作战.md rename to content/zh-cn/posts/求婚大作战.md diff --git a/content/zh-cn/archives/深夜食堂.md b/content/zh-cn/posts/深夜食堂.md similarity index 100% rename from content/zh-cn/archives/深夜食堂.md rename to content/zh-cn/posts/深夜食堂.md diff --git a/content/zh-cn/archives/端午节祝词.md b/content/zh-cn/posts/端午节祝词.md similarity index 100% rename from content/zh-cn/archives/端午节祝词.md rename to content/zh-cn/posts/端午节祝词.md diff --git a/content/zh-cn/archives/精粤H97黑苹果.md b/content/zh-cn/posts/精粤H97黑苹果.md similarity index 100% rename from content/zh-cn/archives/精粤H97黑苹果.md rename to content/zh-cn/posts/精粤H97黑苹果.md diff --git a/content/zh-cn/archives/群晖docker出现注册表无法访问的解决办法.md b/content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md similarity index 100% rename from content/zh-cn/archives/群晖docker出现注册表无法访问的解决办法.md rename to content/zh-cn/posts/群晖docker出现注册表无法访问的解决办法.md diff --git a/content/zh-cn/archives/迷思.md b/content/zh-cn/posts/迷思.md similarity index 100% rename from content/zh-cn/archives/迷思.md rename to content/zh-cn/posts/迷思.md diff --git a/hugo.toml b/hugo.toml index 90a558c..65adce2 100644 --- a/hugo.toml +++ b/hugo.toml @@ -35,7 +35,7 @@ theme = 'farallon' [taxonomies] category = 'categories' tag = 'tags' - story = 'archives' + [Params] search= true description = '资深网民孙先生.' @@ -44,7 +44,7 @@ theme = 'farallon' indexName = 'blog' searchKey = '6de51423d2ac6b29beb9a061737a85ca' searchAPPID = 'CIU4I6RWD0' - showAuthor = true + showAuthor = false authorName = '老孙' authorDescription = '资深网民孙先生' authorAvatar = 'https://i.sunpeiwen.com/source/img/logo.jpg' @@ -53,6 +53,8 @@ theme = 'farallon' feed = '/index.xml' twitter = 'https://twitter.com/imsunpei' instagram = 'https://www.instagram.com/imsunpw/' + github = 'https://github.com/jkjoy' + footer_sns = true [outputs] home = [ "HTML","JSON","RSS","SITEMAP"] diff --git a/layouts/section/archives.html b/layouts/section/archives.html new file mode 100644 index 0000000..4a3fc66 --- /dev/null +++ b/layouts/section/archives.html @@ -0,0 +1,24 @@ +{{ define "main" }} +
+ {{- range (where (where .Site.Pages "Type" "in" "posts") "Kind" "page").GroupByDate "2006" }} + {{ if (where .Pages "Section" "posts") }} +

{{ .Key }}

+ {{ range .Pages.ByPublishDate.Reverse.GroupByDate "January" }} +

{{ .Key }}

+ + {{ end }} + {{ end }} + {{ end }} +
+{{ end }} \ No newline at end of file