Skip to content

Commit 23e3512

Browse files
committed
增加About页面内容
1 parent 80eb387 commit 23e3512

6 files changed

Lines changed: 77 additions & 23 deletions

File tree

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[submodule "themes/hugo-cards"]
22
path = themes/hugo-cards
33
url = https://github.com/bul-ikana/hugo-cards.git
4-
[submodule "themes/ananke"]
5-
path = themes/ananke
6-
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
74
[submodule "themes/stack"]
85
path = themes/stack
96
url = https://github.com/CaiJimmy/hugo-theme-stack.git

content/page/about/index.md

Lines changed: 57 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
---
22
title: About-关于我
33
links:
4+
- title: Mail
5+
description: axiumyu@gmail.com | swapyu301@outlook.com
46
- title: GitHub
5-
description: GitHub is the world's largest software development platform.
6-
website: https://github.com
7-
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
7+
website: https://github.com/Axiumyuyu
8+
- title: BiliBili
9+
website: https://space.bilibili.com/694200819
10+
- title: Modrinth
11+
website: https://modrinth.com/user/Axiumyuyu
12+
- title: Pixiv
13+
website: https://www.pixiv.net/users/65512358
14+
- title: X(Twitter)
15+
website: https://x.com/Axium_YU
16+
- title: Background Image(light)
17+
description: "Pid:138883107"
18+
website: https://www.pixiv.net/artworks/138883107
19+
- title: Background Image(dark)
20+
description: "Pid:128311260"
21+
website: https://www.pixiv.net/artworks/128311260
822
menu:
923
main:
1024
weight: 4
@@ -14,20 +28,45 @@ menu:
1428
comments: false
1529
---
1630

17-
To use this feature, add `links` section to frontmatter.
31+
- INFP
32+
- 作家
33+
- 创作者
34+
- 探索者
35+
- 内省者
36+
- Minecraft服主
37+
- ......
1838

19-
This page's frontmatter:
39+
**标签不是用来定义或束缚人的,是用来帮助认识人的**
40+
41+
写作是一种生活方式,更是最能够在繁杂的世界中让内心平静下来的捷径
42+
43+
如果忘记了自己为什么来到了这里,忘记了自己是谁,忘记了自己要做什么
44+
45+
那就去写
46+
47+
这就是唯一的答案
48+
49+
你不需要成为一个作家才能开始写作,写作是每个人与生俱来的能力与特权
50+
51+
你的每一次写作,也不一定是为了成为一名作家
52+
53+
---
54+
55+
<div style="font-family: 'Noto Serif CJK HK', 'Noto Serif CJK HK ExtraLight'; text-align: center;">
56+
愿每个人都能被自己,被他人,被世界温柔以待
57+
<br><br>
58+
愿每个人都能与自己,与他人,与世界和解
59+
<br><br>
60+
愿每个人都能找到自己内在的宝藏
61+
<br><br>
62+
愿你最终成为你想成为的人
63+
<br><br>
64+
愿最终一切如愿以偿
65+
</div>
66+
67+
<br>
68+
69+
<div style="font-family: 'Noto Serif CJK HK', 'Noto Serif CJK HK ExtraLight'; text-align:right">
70+
------ Axium.钰 <br> 2026.3.1
71+
</div>
2072

21-
```yaml
22-
links:
23-
- title: GitHub
24-
description: GitHub is the world's largest software development platform.
25-
website: https://github.com
26-
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
27-
- title: TypeScript
28-
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
29-
website: https://www.typescriptlang.org
30-
image: ts-logo-128.jpg
31-
```
32-
33-
`image` field accepts both local and external images.

content/post/demo/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
+++
22
title = "在hugo的第一篇文章"
3+
description = "建站过程"
4+
image = "https://file.axiumyu.xyz/20260228_141168133_p0.jpg"
35
date = 2026-02-23T22:51:07+08:00
46
draft = false
7+
58
+++
69

710
![141168133_p0.jpg](https://file.axiumyu.xyz/20260228_141168133_p0.jpg)
@@ -12,8 +15,11 @@ draft = false
1215
网站做了两个镜像,分别用的github pages和cf pages
1316

1417
(blog.)axiumyu.xyz
18+
1519
blog.sakuravalley.xyz
1620

21+
www.axiumyu.xyz
22+
1723
为什么突然就做好了,实际上我也早就说了我早就有这个想法了,于是才去学的前端,学的vue,如果你们还记得我以前的文章里面是什么时候提到我在学这些的话,你就会知道我已经保持这个想法多久了
1824

1925
那为什么我突然就真的做出来了,其实很显然就是因为上一次的文章,我早就知道github pages这东西,实际上我也早就部署过了,但是那时候没有用自定义域名,也没后文了

hugo.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ params:
2121
requiredMeta: [nick, mail]
2222
pageSize: 10
2323
wordLimit: 0
24-
24+
markup:
25+
goldmark:
26+
renderer:
27+
unsafe: true
2528
menu:
2629
social:
2730
- identifier: github
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{ if .Site.Params.comments.waline.pageview }}
2+
<script type="module">
3+
import { pageviewCount } from 'https://unpkg.com/@waline/client@v3/dist/pageview.mjs';
4+
5+
pageviewCount({
6+
// 这里会自动读取你在 hugo.toml 里配好的服务端 URL
7+
serverURL: '{{ .Site.Params.comments.waline.serverURL }}',
8+
});
9+
</script>
10+
{{ end }}

themes/ananke

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)