From 0cbae8c99ff0565334574aa80236f1ea68262365 Mon Sep 17 00:00:00 2001
From: Cirrus <18879981113@163.com>
Date: Thu, 4 Jun 2026 10:52:00 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E6=9C=9F=E6=A0=BC?=
=?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=9C=A8=E5=BC=80=E5=8F=91=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E5=92=8C=E6=9E=B6=E6=9E=84=E5=9B=BE=E4=B8=AD=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=A1=B9=E7=9B=AE?=
=?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=96=B0=E9=A1=B5=E8=84=9A=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/_default/config.toml | 2 +-
config/_default/menu.toml | 2 +-
config/_default/module.toml | 2 -
config/_default/params.toml | 4 +-
content/page/links/index.md | 58 ++++++++++---------
themes/stack-customized/i18n/zh-cn.yaml | 6 +-
.../layouts/partials/footer/footer.html | 6 +-
7 files changed, 41 insertions(+), 39 deletions(-)
delete mode 100644 config/_default/module.toml
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 }}