diff --git a/config/_default/config.toml b/config/_default/config.toml index 8934053..c4cfec1 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,5 +1,5 @@ # Change baseurl before deploy -baseurl = "http://cirrus.org.cn" +baseurl = "https://cirrus.org.cn" languageCode = "zh-cn" title = "Hugo Theme Stack Starter" diff --git a/config/_default/menu.toml b/config/_default/menu.toml index 0c99cf1..0b4ee28 100644 --- a/config/_default/menu.toml +++ b/config/_default/menu.toml @@ -18,7 +18,7 @@ icon = "brand-github" [[social]] identifier = "Email" name = "Email" -url = "mailto:1652693837@qq.com" +url = "mailto:sucrose@mail.cirrus.org.cn" [social.params] icon = "messages" diff --git a/config/_default/module.toml b/config/_default/module.toml deleted file mode 100644 index cf74936..0000000 --- a/config/_default/module.toml +++ /dev/null @@ -1,2 +0,0 @@ -# [[imports]] -# path = "github.com/CaiJimmy/hugo-theme-stack/v3" diff --git a/config/_default/params.toml b/config/_default/params.toml index cd501bc..192e9f2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -9,8 +9,8 @@ since = 2025 customText = "“白砂糖会把这里,建设成白砂糖和白砂的家。”" [dateFormat] -published = "Jan 02, 2006" -lastUpdated = "Jan 02, 2006 15:04 MST" +published = "2006年01月02日" +lastUpdated = "2006年01月02日 15:04 MST" [sidebar] #emoji = "🍥" diff --git a/content/page/links/index.md b/content/page/links/index.md index c8adcce..6d28833 100644 --- a/content/page/links/index.md +++ b/content/page/links/index.md @@ -51,7 +51,7 @@ menu: params: icon: link -date: 2026-05-27 22:21:55+0800 +date: 2026-06-04 10:21:55+0800 comments: false slug: "sudo_whoami" --- @@ -59,22 +59,24 @@ slug: "sudo_whoami" 我是白砂糖,是一名数学专业学生、插画爱好者、计算机爱好者。 ## 开发记录 +- 2026.6.3 + - 启用了Posifix+Dovecot邮件系统。 - 2026.5.31 - 全站启用HTTPS访问; - 全站启用IPv4与IPv6双栈访问; - 配置了FRP反向代理,全站所有功能可通过公网访问。 - 2026.5.27 - 为所有文章设置了3位Base62序号索引的唯一slug,得到了短URL; - - 添加了公网可用的新功能:Uptime Kuma,版本2.3.2; + - 启用了Uptime Kuma,版本2.3.2; - 把Cloudreve更新到版本4.16.0; - 把Gitea更新到版本1.26.2; - Cloudreve和Gitea开始采用冷热数据分离架构,以及Redis缓存技术,冷访问时、浏览目录时无需唤醒机械硬盘,访问延迟从数百毫秒降低到几十毫秒。 - 2026.5.23: - - 添加了校园网可用的新功能:Memos,版本0.28.0。 + - 启用了Memos,版本0.28.0。 - 2026.4.23: - - 添加了校园网可用的新功能:静态网站导航页。 + - 启用了静态网站导航页。 - 2026.4.22: - - 添加了校园网可用的新功能:code-server,版本4.116.0。 + - 启用了code-server,版本4.116.0。 - 2026.4.14: - 尝试了自定义Taxonomy; - 优化了原主题的一处汉化问题; @@ -84,10 +86,10 @@ slug: "sudo_whoami" - 2026.1.13: - 为网站添加了ICP备案与公安联网备案信息。 - 2026.1.7: - - 添加了校园网可用的新功能:GeoGebra。 + - 启用了GeoGebra。 - 2026.1.5: - - 添加了校园网可用的新功能:Cloudreve,版本4.10.1; - - 添加了校园网可用的新功能:Gitea,版本1.25.3; + - 启用了Cloudreve,版本4.10.1; + - 启用了Gitea,版本1.25.3; - 网站可通过公网访问。 - 2025.12.14: - 为网站添加了域名。 @@ -105,8 +107,9 @@ flowchart TD subgraph PublicNetwork["公网"] direction TB subgraph F["阿里云ECS"] - F_router[FRPS] - F_status[Uptime Kuma 公网
status] + F_router[Nginx] + F_status[Uptime Kuma公网
status] + F_mail[Postfix+Dovecot服务器
mail] end subgraph O["阿里云OSS"] O_website[个人Blog网站
(根域名)] @@ -117,15 +120,15 @@ flowchart TD direction TB subgraph A["CLab云服务器"] - A_code[code-server] - A_memos[Memos] - A_static[个人Blog以外的静态网站] - A_kuma_local[Uptime Kuma 校内
status-local] + A_code[code-server
code] + A_memos[Memos
memos] + A_static[个人Blog以外的静态网站
static] + A_kuma_local[Uptime Kuma校内
status-local] end subgraph M["校内物理机"] - M_cloud[Cloudreve] - M_git[Gitea] + M_cloud[Cloudreve
cloud] + M_git[Gitea
git] end end @@ -133,24 +136,27 @@ flowchart TD User[网站访客] User -->|"公网/校园网访问"| F_router User -->|"公网/校园网访问"| O_website + User -->|"公网/校园网访问"| F_status + User -->|"公网/校园网访问"| F_mail User -->|"校内直连"| M_cloud User -->|"校内直连"| M_git %% 跨网连接:公网 → 校园网 - F_router -->|"1: FRP 隧道"| M_cloud - F_router -->|"1: FRP 隧道"| M_git - F_router -->|"2: FRP 隧道"| A_code - F_router -->|"2: FRP 隧道"| A_memos - F_router -->|"2: FRP 隧道"| A_static - F_router -->|"2: FRP 隧道"| A_kuma_local + F_router -->|"FRP隧道1"| M_cloud + F_router -->|"FRP隧道1"| M_git + F_router -->|"FRP隧道2"| A_code + F_router -->|"FRP隧道2"| A_memos + F_router -->|"FRP隧道2"| A_static + F_router -->|"FRP隧道2"| A_kuma_local %% 校内探测 - A_kuma_local -->|"4: 校内直连探测"| M_cloud - A_kuma_local -->|"4: 校内直连探测"| M_git + A_kuma_local -->|"校内直连监测"| M_cloud + A_kuma_local -->|"校内直连监测"| M_git %% 互相监控 - F_status -->|"2: FRP 隧道
监控 status-local"| A_kuma_local - A_kuma_local -->|"2: FRP 隧道
监控 status"| F_status + F_status <-->|"FRP隧道2
相互监测"| A_kuma_local + F_status -->|"监测公网OSS"| O_website + A_kuma_local -->|"监测公网OSS"| O_website %% 样式 classDef public fill:#e3f2fd,stroke:#1e88e5,stroke-width:2px diff --git a/themes/stack-customized/i18n/zh-cn.yaml b/themes/stack-customized/i18n/zh-cn.yaml index 87c43ff..7b2e039 100644 --- a/themes/stack-customized/i18n/zh-cn.yaml +++ b/themes/stack-customized/i18n/zh-cn.yaml @@ -25,7 +25,7 @@ article: other: 最后更新于 readingTime: - other: "阅读时长: {{ .Count }} 分钟" + other: "{{ .Count }}分钟" notFound: title: @@ -64,10 +64,10 @@ search: footer: builtWith: - other: 使用 {{ .Generator }} 构建 + other: 使用{{ .Generator }}构建 designedBy: - other: 主题 {{ .Theme }} 由 {{ .DesignedBy }} 设计 + other: 主题{{ .Theme }}由{{ .DesignedBy }}设计 room: translation: "房间" diff --git a/themes/stack-customized/layouts/partials/footer/footer.html b/themes/stack-customized/layouts/partials/footer/footer.html index 0cc2bf6..03af9ac 100644 --- a/themes/stack-customized/layouts/partials/footer/footer.html +++ b/themes/stack-customized/layouts/partials/footer/footer.html @@ -19,9 +19,7 @@ {{- $ICP := `京ICP备2026002012号` -}} {{- $MPS := `公安备案 京公网安备11010802047341号` -}} - {{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }}
- {{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}
- {{ $ICP | safeHTML }}
- {{ $MPS | safeHTML }} + {{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }},{{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}。
+ {{ $ICP | safeHTML }} {{ $MPS | safeHTML }}