Skip to content

Commit 9e6483e

Browse files
keidarcymeteorlxy
andauthored
docs($zh): sync permalinks guide (#2253)
Co-authored-by: meteorlxy <[email protected]>
1 parent 393f223 commit 9e6483e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/docs/docs/zh/guide/permalinks.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@
2222
/source/_post/intro-vuepress.html
2323
```
2424

25-
看起来我们已经发现了 blog 的阴暗面。让我们继续看下去。
25+
然而对于 blog 来说,我们希望文章的链接更加灵活,而不是局限于目录结构。VuePress 把这个功能称为永久链接 (permalinks) ,并从 `1.0.0` 版本开始支持。
26+
27+
如果使用永久链接,那么实际的页面链接会像这样:
28+
29+
```
30+
/source/
31+
/source/tags/
32+
/source/2018/4/1/intro-vuepress.html
33+
```
34+
35+
看起来我们已经看过了 blog 的阴暗面。那么让我们继续看下去。
2636

2737
## 永久链接
2838

0 commit comments

Comments
 (0)