From cb37e6a77b8467903ec03e66a2f2d9b2c25ea7d5 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Tue, 4 Jun 2024 14:52:49 +0800 Subject: [PATCH] [build] create dir --- .forgejo/workflows/publish.yml | 3 --- content/_index.md | 11 +++++++++-- .../Miniflux - 一款简约的在线 RSS 阅读器.md | 0 content/{posts => articles}/关于本站.md | 0 content/{posts => articles}/如何下载下不动的东西.md | 0 .../来把 org-roam 笔记发布出去吧.md | 0 content/{posts => daily}/2022-08-30.md | 0 content/{posts => daily}/2022-09-01.md | 0 content/{posts => daily}/2022-09-03.md | 0 content/{posts => daily}/2023-02-11.md | 0 content/{posts => daily}/2023-02-14.md | 0 content/{posts => daily}/2023-02-20.md | 0 content/{posts => daily}/2023-02-22.md | 0 content/{posts => daily}/2023-03-03.md | 0 content/{posts => daily}/2023-04-17.md | 0 content/{posts => daily}/2023-04-30.md | 0 content/{posts => daily}/2023-05-01.md | 0 content/{posts => daily}/2023-05-02.md | 0 content/{posts => daily}/2023-05-03.md | 0 content/{posts => daily}/2024-05-14.md | 0 content/{posts => daily}/2024-05-16.md | 0 content/{posts => daily}/2024-05-18.md | 0 content/{posts => daily}/2024-05-19.md | 0 content/{posts => daily}/2024-05-21.md | 0 content/{posts => daily}/2024-05-28.md | 0 content/{posts => daily}/2024-06-01.md | 0 content/{posts => daily}/2024-06-02.md | 0 content/{posts => daily}/2024-06-03.md | 0 content/{posts => main}/c_语言.md | 0 content/{posts => main}/docker.md | 0 content/{posts => main}/docker_compose.md | 0 content/{posts => main}/docker_compose_安装.md | 0 content/{posts => main}/docker_安装.md | 0 content/{posts => main}/lisp.md | 0 content/{posts => main}/nw_cdn.md | 0 content/{posts => main}/nw_dns.md | 0 content/{posts => main}/nw_html.md | 0 content/{posts => main}/nw_ip_地址.md | 0 content/{posts => main}/nw_nginx.md | 0 content/{posts => main}/nw_互联网.md | 0 content/{posts => main}/nw_代理.md | 0 content/{posts => main}/nw_反向代理.md | 0 content/{posts => main}/nw_域名.md | 0 content/{posts => main}/nw_服务器.md | 0 content/{posts => main}/nw_服务器商家推荐.md | 0 content/{posts => main}/nw_狐式流建站教程索引.md | 0 content/{posts => main}/nw_端口.md | 0 content/{posts => main}/nw_缓存.md | 0 content/{posts => main}/nw_静动态博客区别.md | 0 content/{posts => main}/org_roam.md | 0 content/{posts => main}/存储强度.md | 0 content/{posts => main}/帕金森定律.md | 0 content/{posts => main}/必要难度理论.md | 0 content/{posts => main}/文献笔记.md | 0 content/{posts => main}/曝光效应.md | 0 content/{posts => main}/栈.md | 0 content/{posts => main}/永久笔记.md | 0 content/{posts => main}/番茄工作法.md | 0 content/{posts => main}/确认偏差.md | 0 content/{posts => main}/缓存.md | 0 content/{posts => main}/蔡格尼克效应.md | 0 content/{posts => main}/邓宁_克鲁格效应.md | 0 content/{posts => main}/闪念笔记.md | 0 .../(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md | 0 .../20240604001302-中国文化课.md | 0 .../{posts => references}/C 语言速成讲座 第一课.md | 0 content/{posts => references}/SICP 第一课.md | 0 content/{posts => references}/[De]ShenKe*ALunSi7.md | 0 content/{posts => references}/tcp_ip_模型.md | 0 content/{posts => references}/tcpip详解卷1.md | 0 content/{posts => references}/大话数据结构.md | 0 .../计算机程序的构造和解释(SICP).md | 0 themes/cortex/layouts/shortcodes/first.html | 2 +- 73 files changed, 10 insertions(+), 6 deletions(-) rename content/{posts => articles}/Miniflux - 一款简约的在线 RSS 阅读器.md (100%) rename content/{posts => articles}/关于本站.md (100%) rename content/{posts => articles}/如何下载下不动的东西.md (100%) rename content/{posts => articles}/来把 org-roam 笔记发布出去吧.md (100%) rename content/{posts => daily}/2022-08-30.md (100%) rename content/{posts => daily}/2022-09-01.md (100%) rename content/{posts => daily}/2022-09-03.md (100%) rename content/{posts => daily}/2023-02-11.md (100%) rename content/{posts => daily}/2023-02-14.md (100%) rename content/{posts => daily}/2023-02-20.md (100%) rename content/{posts => daily}/2023-02-22.md (100%) rename content/{posts => daily}/2023-03-03.md (100%) rename content/{posts => daily}/2023-04-17.md (100%) rename content/{posts => daily}/2023-04-30.md (100%) rename content/{posts => daily}/2023-05-01.md (100%) rename content/{posts => daily}/2023-05-02.md (100%) rename content/{posts => daily}/2023-05-03.md (100%) rename content/{posts => daily}/2024-05-14.md (100%) rename content/{posts => daily}/2024-05-16.md (100%) rename content/{posts => daily}/2024-05-18.md (100%) rename content/{posts => daily}/2024-05-19.md (100%) rename content/{posts => daily}/2024-05-21.md (100%) rename content/{posts => daily}/2024-05-28.md (100%) rename content/{posts => daily}/2024-06-01.md (100%) rename content/{posts => daily}/2024-06-02.md (100%) rename content/{posts => daily}/2024-06-03.md (100%) rename content/{posts => main}/c_语言.md (100%) rename content/{posts => main}/docker.md (100%) rename content/{posts => main}/docker_compose.md (100%) rename content/{posts => main}/docker_compose_安装.md (100%) rename content/{posts => main}/docker_安装.md (100%) rename content/{posts => main}/lisp.md (100%) rename content/{posts => main}/nw_cdn.md (100%) rename content/{posts => main}/nw_dns.md (100%) rename content/{posts => main}/nw_html.md (100%) rename content/{posts => main}/nw_ip_地址.md (100%) rename content/{posts => main}/nw_nginx.md (100%) rename content/{posts => main}/nw_互联网.md (100%) rename content/{posts => main}/nw_代理.md (100%) rename content/{posts => main}/nw_反向代理.md (100%) rename content/{posts => main}/nw_域名.md (100%) rename content/{posts => main}/nw_服务器.md (100%) rename content/{posts => main}/nw_服务器商家推荐.md (100%) rename content/{posts => main}/nw_狐式流建站教程索引.md (100%) rename content/{posts => main}/nw_端口.md (100%) rename content/{posts => main}/nw_缓存.md (100%) rename content/{posts => main}/nw_静动态博客区别.md (100%) rename content/{posts => main}/org_roam.md (100%) rename content/{posts => main}/存储强度.md (100%) rename content/{posts => main}/帕金森定律.md (100%) rename content/{posts => main}/必要难度理论.md (100%) rename content/{posts => main}/文献笔记.md (100%) rename content/{posts => main}/曝光效应.md (100%) rename content/{posts => main}/栈.md (100%) rename content/{posts => main}/永久笔记.md (100%) rename content/{posts => main}/番茄工作法.md (100%) rename content/{posts => main}/确认偏差.md (100%) rename content/{posts => main}/缓存.md (100%) rename content/{posts => main}/蔡格尼克效应.md (100%) rename content/{posts => main}/邓宁_克鲁格效应.md (100%) rename content/{posts => main}/闪念笔记.md (100%) rename content/{posts => references}/(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md (100%) rename content/{posts => references}/20240604001302-中国文化课.md (100%) rename content/{posts => references}/C 语言速成讲座 第一课.md (100%) rename content/{posts => references}/SICP 第一课.md (100%) rename content/{posts => references}/[De]ShenKe*ALunSi7.md (100%) rename content/{posts => references}/tcp_ip_模型.md (100%) rename content/{posts => references}/tcpip详解卷1.md (100%) rename content/{posts => references}/大话数据结构.md (100%) rename content/{posts => references}/计算机程序的构造和解释(SICP).md (100%) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 32dae9e..5d2760f 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -9,9 +9,6 @@ jobs: steps: - uses: actions/checkout@v3 - - run: bash fix.sh - - - name: Setup Hugo uses: actions/actions-hugo@v3 with: diff --git a/content/_index.md b/content/_index.md index 0c9c279..73a6e40 100644 --- a/content/_index.md +++ b/content/_index.md @@ -11,11 +11,18 @@ draft = false 这里就是我的数字花园了,现在还在装修中,请随便逛逛吧。 -[全部文章点我](/posts/)。 +- [daily](/daily/) +- [main](/main/) +- [references](/references/) +- [articles](/articles/) 祝逛得开心! -### 最近文章 +## 最近文章 {{% first 10 %}} +## 关于本站 + +[关于本站](/articles/关于本站/) + diff --git a/content/posts/Miniflux - 一款简约的在线 RSS 阅读器.md b/content/articles/Miniflux - 一款简约的在线 RSS 阅读器.md similarity index 100% rename from content/posts/Miniflux - 一款简约的在线 RSS 阅读器.md rename to content/articles/Miniflux - 一款简约的在线 RSS 阅读器.md diff --git a/content/posts/关于本站.md b/content/articles/关于本站.md similarity index 100% rename from content/posts/关于本站.md rename to content/articles/关于本站.md diff --git a/content/posts/如何下载下不动的东西.md b/content/articles/如何下载下不动的东西.md similarity index 100% rename from content/posts/如何下载下不动的东西.md rename to content/articles/如何下载下不动的东西.md diff --git a/content/posts/来把 org-roam 笔记发布出去吧.md b/content/articles/来把 org-roam 笔记发布出去吧.md similarity index 100% rename from content/posts/来把 org-roam 笔记发布出去吧.md rename to content/articles/来把 org-roam 笔记发布出去吧.md diff --git a/content/posts/2022-08-30.md b/content/daily/2022-08-30.md similarity index 100% rename from content/posts/2022-08-30.md rename to content/daily/2022-08-30.md diff --git a/content/posts/2022-09-01.md b/content/daily/2022-09-01.md similarity index 100% rename from content/posts/2022-09-01.md rename to content/daily/2022-09-01.md diff --git a/content/posts/2022-09-03.md b/content/daily/2022-09-03.md similarity index 100% rename from content/posts/2022-09-03.md rename to content/daily/2022-09-03.md diff --git a/content/posts/2023-02-11.md b/content/daily/2023-02-11.md similarity index 100% rename from content/posts/2023-02-11.md rename to content/daily/2023-02-11.md diff --git a/content/posts/2023-02-14.md b/content/daily/2023-02-14.md similarity index 100% rename from content/posts/2023-02-14.md rename to content/daily/2023-02-14.md diff --git a/content/posts/2023-02-20.md b/content/daily/2023-02-20.md similarity index 100% rename from content/posts/2023-02-20.md rename to content/daily/2023-02-20.md diff --git a/content/posts/2023-02-22.md b/content/daily/2023-02-22.md similarity index 100% rename from content/posts/2023-02-22.md rename to content/daily/2023-02-22.md diff --git a/content/posts/2023-03-03.md b/content/daily/2023-03-03.md similarity index 100% rename from content/posts/2023-03-03.md rename to content/daily/2023-03-03.md diff --git a/content/posts/2023-04-17.md b/content/daily/2023-04-17.md similarity index 100% rename from content/posts/2023-04-17.md rename to content/daily/2023-04-17.md diff --git a/content/posts/2023-04-30.md b/content/daily/2023-04-30.md similarity index 100% rename from content/posts/2023-04-30.md rename to content/daily/2023-04-30.md diff --git a/content/posts/2023-05-01.md b/content/daily/2023-05-01.md similarity index 100% rename from content/posts/2023-05-01.md rename to content/daily/2023-05-01.md diff --git a/content/posts/2023-05-02.md b/content/daily/2023-05-02.md similarity index 100% rename from content/posts/2023-05-02.md rename to content/daily/2023-05-02.md diff --git a/content/posts/2023-05-03.md b/content/daily/2023-05-03.md similarity index 100% rename from content/posts/2023-05-03.md rename to content/daily/2023-05-03.md diff --git a/content/posts/2024-05-14.md b/content/daily/2024-05-14.md similarity index 100% rename from content/posts/2024-05-14.md rename to content/daily/2024-05-14.md diff --git a/content/posts/2024-05-16.md b/content/daily/2024-05-16.md similarity index 100% rename from content/posts/2024-05-16.md rename to content/daily/2024-05-16.md diff --git a/content/posts/2024-05-18.md b/content/daily/2024-05-18.md similarity index 100% rename from content/posts/2024-05-18.md rename to content/daily/2024-05-18.md diff --git a/content/posts/2024-05-19.md b/content/daily/2024-05-19.md similarity index 100% rename from content/posts/2024-05-19.md rename to content/daily/2024-05-19.md diff --git a/content/posts/2024-05-21.md b/content/daily/2024-05-21.md similarity index 100% rename from content/posts/2024-05-21.md rename to content/daily/2024-05-21.md diff --git a/content/posts/2024-05-28.md b/content/daily/2024-05-28.md similarity index 100% rename from content/posts/2024-05-28.md rename to content/daily/2024-05-28.md diff --git a/content/posts/2024-06-01.md b/content/daily/2024-06-01.md similarity index 100% rename from content/posts/2024-06-01.md rename to content/daily/2024-06-01.md diff --git a/content/posts/2024-06-02.md b/content/daily/2024-06-02.md similarity index 100% rename from content/posts/2024-06-02.md rename to content/daily/2024-06-02.md diff --git a/content/posts/2024-06-03.md b/content/daily/2024-06-03.md similarity index 100% rename from content/posts/2024-06-03.md rename to content/daily/2024-06-03.md diff --git a/content/posts/c_语言.md b/content/main/c_语言.md similarity index 100% rename from content/posts/c_语言.md rename to content/main/c_语言.md diff --git a/content/posts/docker.md b/content/main/docker.md similarity index 100% rename from content/posts/docker.md rename to content/main/docker.md diff --git a/content/posts/docker_compose.md b/content/main/docker_compose.md similarity index 100% rename from content/posts/docker_compose.md rename to content/main/docker_compose.md diff --git a/content/posts/docker_compose_安装.md b/content/main/docker_compose_安装.md similarity index 100% rename from content/posts/docker_compose_安装.md rename to content/main/docker_compose_安装.md diff --git a/content/posts/docker_安装.md b/content/main/docker_安装.md similarity index 100% rename from content/posts/docker_安装.md rename to content/main/docker_安装.md diff --git a/content/posts/lisp.md b/content/main/lisp.md similarity index 100% rename from content/posts/lisp.md rename to content/main/lisp.md diff --git a/content/posts/nw_cdn.md b/content/main/nw_cdn.md similarity index 100% rename from content/posts/nw_cdn.md rename to content/main/nw_cdn.md diff --git a/content/posts/nw_dns.md b/content/main/nw_dns.md similarity index 100% rename from content/posts/nw_dns.md rename to content/main/nw_dns.md diff --git a/content/posts/nw_html.md b/content/main/nw_html.md similarity index 100% rename from content/posts/nw_html.md rename to content/main/nw_html.md diff --git a/content/posts/nw_ip_地址.md b/content/main/nw_ip_地址.md similarity index 100% rename from content/posts/nw_ip_地址.md rename to content/main/nw_ip_地址.md diff --git a/content/posts/nw_nginx.md b/content/main/nw_nginx.md similarity index 100% rename from content/posts/nw_nginx.md rename to content/main/nw_nginx.md diff --git a/content/posts/nw_互联网.md b/content/main/nw_互联网.md similarity index 100% rename from content/posts/nw_互联网.md rename to content/main/nw_互联网.md diff --git a/content/posts/nw_代理.md b/content/main/nw_代理.md similarity index 100% rename from content/posts/nw_代理.md rename to content/main/nw_代理.md diff --git a/content/posts/nw_反向代理.md b/content/main/nw_反向代理.md similarity index 100% rename from content/posts/nw_反向代理.md rename to content/main/nw_反向代理.md diff --git a/content/posts/nw_域名.md b/content/main/nw_域名.md similarity index 100% rename from content/posts/nw_域名.md rename to content/main/nw_域名.md diff --git a/content/posts/nw_服务器.md b/content/main/nw_服务器.md similarity index 100% rename from content/posts/nw_服务器.md rename to content/main/nw_服务器.md diff --git a/content/posts/nw_服务器商家推荐.md b/content/main/nw_服务器商家推荐.md similarity index 100% rename from content/posts/nw_服务器商家推荐.md rename to content/main/nw_服务器商家推荐.md diff --git a/content/posts/nw_狐式流建站教程索引.md b/content/main/nw_狐式流建站教程索引.md similarity index 100% rename from content/posts/nw_狐式流建站教程索引.md rename to content/main/nw_狐式流建站教程索引.md diff --git a/content/posts/nw_端口.md b/content/main/nw_端口.md similarity index 100% rename from content/posts/nw_端口.md rename to content/main/nw_端口.md diff --git a/content/posts/nw_缓存.md b/content/main/nw_缓存.md similarity index 100% rename from content/posts/nw_缓存.md rename to content/main/nw_缓存.md diff --git a/content/posts/nw_静动态博客区别.md b/content/main/nw_静动态博客区别.md similarity index 100% rename from content/posts/nw_静动态博客区别.md rename to content/main/nw_静动态博客区别.md diff --git a/content/posts/org_roam.md b/content/main/org_roam.md similarity index 100% rename from content/posts/org_roam.md rename to content/main/org_roam.md diff --git a/content/posts/存储强度.md b/content/main/存储强度.md similarity index 100% rename from content/posts/存储强度.md rename to content/main/存储强度.md diff --git a/content/posts/帕金森定律.md b/content/main/帕金森定律.md similarity index 100% rename from content/posts/帕金森定律.md rename to content/main/帕金森定律.md diff --git a/content/posts/必要难度理论.md b/content/main/必要难度理论.md similarity index 100% rename from content/posts/必要难度理论.md rename to content/main/必要难度理论.md diff --git a/content/posts/文献笔记.md b/content/main/文献笔记.md similarity index 100% rename from content/posts/文献笔记.md rename to content/main/文献笔记.md diff --git a/content/posts/曝光效应.md b/content/main/曝光效应.md similarity index 100% rename from content/posts/曝光效应.md rename to content/main/曝光效应.md diff --git a/content/posts/栈.md b/content/main/栈.md similarity index 100% rename from content/posts/栈.md rename to content/main/栈.md diff --git a/content/posts/永久笔记.md b/content/main/永久笔记.md similarity index 100% rename from content/posts/永久笔记.md rename to content/main/永久笔记.md diff --git a/content/posts/番茄工作法.md b/content/main/番茄工作法.md similarity index 100% rename from content/posts/番茄工作法.md rename to content/main/番茄工作法.md diff --git a/content/posts/确认偏差.md b/content/main/确认偏差.md similarity index 100% rename from content/posts/确认偏差.md rename to content/main/确认偏差.md diff --git a/content/posts/缓存.md b/content/main/缓存.md similarity index 100% rename from content/posts/缓存.md rename to content/main/缓存.md diff --git a/content/posts/蔡格尼克效应.md b/content/main/蔡格尼克效应.md similarity index 100% rename from content/posts/蔡格尼克效应.md rename to content/main/蔡格尼克效应.md diff --git a/content/posts/邓宁_克鲁格效应.md b/content/main/邓宁_克鲁格效应.md similarity index 100% rename from content/posts/邓宁_克鲁格效应.md rename to content/main/邓宁_克鲁格效应.md diff --git a/content/posts/闪念笔记.md b/content/main/闪念笔记.md similarity index 100% rename from content/posts/闪念笔记.md rename to content/main/闪念笔记.md diff --git a/content/posts/(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md b/content/references/(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md similarity index 100% rename from content/posts/(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md rename to content/references/(Mei)N.GeLiGaoLi.ManKun(n.GregoryMankiw)9.md diff --git a/content/posts/20240604001302-中国文化课.md b/content/references/20240604001302-中国文化课.md similarity index 100% rename from content/posts/20240604001302-中国文化课.md rename to content/references/20240604001302-中国文化课.md diff --git a/content/posts/C 语言速成讲座 第一课.md b/content/references/C 语言速成讲座 第一课.md similarity index 100% rename from content/posts/C 语言速成讲座 第一课.md rename to content/references/C 语言速成讲座 第一课.md diff --git a/content/posts/SICP 第一课.md b/content/references/SICP 第一课.md similarity index 100% rename from content/posts/SICP 第一课.md rename to content/references/SICP 第一课.md diff --git a/content/posts/[De]ShenKe*ALunSi7.md b/content/references/[De]ShenKe*ALunSi7.md similarity index 100% rename from content/posts/[De]ShenKe*ALunSi7.md rename to content/references/[De]ShenKe*ALunSi7.md diff --git a/content/posts/tcp_ip_模型.md b/content/references/tcp_ip_模型.md similarity index 100% rename from content/posts/tcp_ip_模型.md rename to content/references/tcp_ip_模型.md diff --git a/content/posts/tcpip详解卷1.md b/content/references/tcpip详解卷1.md similarity index 100% rename from content/posts/tcpip详解卷1.md rename to content/references/tcpip详解卷1.md diff --git a/content/posts/大话数据结构.md b/content/references/大话数据结构.md similarity index 100% rename from content/posts/大话数据结构.md rename to content/references/大话数据结构.md diff --git a/content/posts/计算机程序的构造和解释(SICP).md b/content/references/计算机程序的构造和解释(SICP).md similarity index 100% rename from content/posts/计算机程序的构造和解释(SICP).md rename to content/references/计算机程序的构造和解释(SICP).md diff --git a/themes/cortex/layouts/shortcodes/first.html b/themes/cortex/layouts/shortcodes/first.html index 1fe4859..f3c5378 100644 --- a/themes/cortex/layouts/shortcodes/first.html +++ b/themes/cortex/layouts/shortcodes/first.html @@ -1,3 +1,3 @@ -{{ range ( where .Site.RegularPages "Type" "posts" | first ( .Get 0 ) ) }} +{{ range .Site.RegularPages.ByDate.Reverse | first ( .Get 0 ) }}
  • {{ .Title }}
  • {{end}}