diff --git a/content/post/dogeyun-auto-refresh-cdn.md b/content/post/auto-refresh-cdn.md similarity index 98% rename from content/post/dogeyun-auto-refresh-cdn.md rename to content/post/auto-refresh-cdn.md index b1069287..f4cbc957 100644 --- a/content/post/dogeyun-auto-refresh-cdn.md +++ b/content/post/auto-refresh-cdn.md @@ -1,14 +1,14 @@ --- title: "Hugo使用GitHub Action自动刷新多吉云CDN缓存" date: "2024-09-16T14:48:42+08:00" +slug: "20240916-auto-refresh-cdn" draft: false -cid: 1309 categories: [] tags: [] author: "小赵同学" layout: "post" status: "public" -categories: ["教程"] +categories: ["生活"] tags: [] --- diff --git a/content/post/delete-some-links.md b/content/post/delete-some-links.md deleted file mode 100644 index cae45abc..00000000 --- a/content/post/delete-some-links.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "今天空闲时间清理了部分无法打开的友链" -date: "2024-09-18T09:16:45+08:00" -draft: false -categories: [] -cid: 1323 -tags: [] -author: "小赵同学" -layout: "post" -status: "public" -categories: ["生活"] -tags: [] ---- - -今天空闲的时候,查看了一下友链列表,发现很多博客打不开了 - -为了避免跳菠菜和h网,清理了一些博客链接,如果有恢复,请博客的留言页面留言 diff --git a/content/post/ikun.md b/content/post/new-a-ikun.md similarity index 98% rename from content/post/ikun.md rename to content/post/new-a-ikun.md index 7aa5aa30..73c202c6 100644 --- a/content/post/ikun.md +++ b/content/post/new-a-ikun.md @@ -1,9 +1,9 @@ --- title: "添加ikun摆件" date: "2024-08-07T16:10:05+08:00" -draft: true +slug: "20240807-new-a-ikun" +draft: false categories: [] -cid: 1312 tags: [] author: "小赵同学" layout: "post" @@ -187,4 +187,4 @@ https://github.com/itorr/sakana 「Sakana!」石蒜模拟器 -大功告成! +大功告成! \ No newline at end of file diff --git a/content/post/migrate-to-hugo.md b/content/post/typecho-to-hugo.md similarity index 99% rename from content/post/migrate-to-hugo.md rename to content/post/typecho-to-hugo.md index 60b0efef..5f91653d 100644 --- a/content/post/migrate-to-hugo.md +++ b/content/post/typecho-to-hugo.md @@ -1,10 +1,10 @@ --- title: "迁移博客至hugo" date: "2024-08-11T20:52:39+08:00" +slug: "20240811-typecho-to-hugo" draft: false categories: [] tags: [] -cid: 1307 author: "小赵同学" layout: "post" status: "public" @@ -81,4 +81,3 @@ Hugo 官方 https://gohugo.io [永恒末匕](https://likaijian.com/) https://likaijian.com 特别感谢主题开发期间提供帮助的博友以及开发者(以上排名不分先后) - diff --git a/hugo.toml b/hugo.toml index 23c69656..84eb614e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -12,4 +12,4 @@ HasCJKLanguage = true style = 'tango' # 去掉post [permalinks] - post = "/:cid/" \ No newline at end of file + post = "/:slug/" \ No newline at end of file diff --git a/themes/Ying/archetypes/post.md b/themes/Ying/archetypes/post.md index 49dda46c..a2254c3f 100644 --- a/themes/Ying/archetypes/post.md +++ b/themes/Ying/archetypes/post.md @@ -1,6 +1,7 @@ --- title: "{{ replace .Name "-" " " | title }}" date: "{{ .Date }}" +slug: "{{ now.Format "20060102" }}-{{ .Name }}" draft: false categories: [] tags: []