修改日期格式,在开发记录和架构图中添加邮件服务器项目,更新页脚样式。

This commit is contained in:
2026-06-04 10:52:00 +08:00
parent e99571c346
commit 0cbae8c99f
7 changed files with 41 additions and 39 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
-2
View File
@@ -1,2 +0,0 @@
# [[imports]]
# path = "github.com/CaiJimmy/hugo-theme-stack/v3"
+2 -2
View File
@@ -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 = "🍥"
+32 -26
View File
@@ -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 公网<br/>status]
F_router[Nginx]
F_status[Uptime Kuma公网<br/>status]
F_mail[Postfix+Dovecot服务器<br/>mail]
end
subgraph O["阿里云OSS"]
O_website[个人Blog网站<br/>(根域名)]
@@ -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 校内<br/>status-local]
A_code[code-server<br/>code]
A_memos[Memos<br/>memos]
A_static[个人Blog以外的静态网站<br/>static]
A_kuma_local[Uptime Kuma校内<br/>status-local]
end
subgraph M["校内物理机"]
M_cloud[Cloudreve]
M_git[Gitea]
M_cloud[Cloudreve<br/>cloud]
M_git[Gitea<br/>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 隧道<br/>监控 status-local"| A_kuma_local
A_kuma_local -->|"2: FRP 隧道<br/>监控 status"| F_status
F_status <-->|"FRP隧道2<br/>相互监测"| A_kuma_local
F_status -->|"监测公网OSS"| O_website
A_kuma_local -->|"监测公网OSS"| O_website
%% 样式
classDef public fill:#e3f2fd,stroke:#1e88e5,stroke-width:2px
+3 -3
View File
@@ -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: "房间"
@@ -19,9 +19,7 @@
{{- $ICP := `<a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener"><u>京ICP备2026002012号</u></a>` -}}
{{- $MPS := `<img src="/beian.png" width="15" alt="公安备案"/> <a href="https://beian.mps.gov.cn/#/query/webSearch?code=11010802047341" rel="noopener noreferrer" target="_blank"><u>京公网安备11010802047341号</u></a>` -}}
{{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }} <br />
{{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}<br />
{{ $ICP | safeHTML }}<br />
{{ $MPS | safeHTML }}
{{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }}{{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}。<br />
{{ $ICP | safeHTML }} {{ $MPS | safeHTML }}
</section>
</footer>