Skip to content

Commit 5b33355

Browse files
committed
add articals
1 parent 8cb5870 commit 5b33355

9 files changed

Lines changed: 25 additions & 11 deletions

File tree

archetypes/default.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ date: {{ .Date }}
44
draft: true
55
description: ""
66
showHero: false
7+
slug: ""
78
---

archetypes/external.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ date: {{ .Date }}
44
externalUrl: ""
55
summary: ""
66
showReadingTime: false
7+
slug: "{{ .Name | urlize }}"
78
_build:
89
render: "false"
910
list: "local"

config/_default/hugo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,7 @@ enableEmoji = true
7171

7272
[caches]
7373
[caches.images]
74-
dir = ':cacheDir/images'
74+
dir = ':cacheDir/images'
75+
76+
[permalinks]
77+
posts = "/posts/:slug/" # 强制使用 Front Matter 里的 slug

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "本站的创立的目标。"
66
showHero: true
77
---
88

9-
## 实践是检验真理的唯一标准
9+
## 实践是检验真理的唯一标准
1010

1111
实践是真理工坊的根本,也是本站创立的目标。
1212

File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: "Hello, Hugo!"
2+
title: "你好,Hugo"
33
date: 2025-12-22T02:45:19+08:00
44
draft: false
55
description: ""
66
showHero: false
7+
slug: "hello-hugo"
78
---
89

910
启用一个hugo站点所花费的时间比我想象的要久,比wordpress麻烦多了。
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "在防火墙及 CG-NAT 环境下部署 Storj 节点"
3+
date: 2025-12-23T22:36:13+08:00
4+
draft: true
5+
description: ""
6+
showHero: false
7+
slug: "deploy-storj-node-under-gfw-and-cg-nat"
8+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "迁移docker卷"
3+
date: 2025-12-23T22:51:54+08:00
4+
draft: true
5+
description: ""
6+
showHero: false
7+
slug: "migrate-docker-volume"
8+
---

content/posts/storj-sno.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)