Skip to content

Commit f0b33e1

Browse files
committed
docs(cn): update doc for hiding edit link by page (#286)
1 parent d46819c commit f0b33e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/zh/default-theme-config/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,14 @@ module.exports = {
317317
}
318318
```
319319

320+
你可以通过 `YAML front matter` 来禁用指定页面的编辑链接:
321+
322+
``` yaml
323+
---
324+
editLink: false
325+
---
326+
```
327+
320328
## 简单的 CSS 覆盖
321329

322330
如果你只是希望应用一些简单的 overrides 到默认主题的样式上,你可以创建一个 `.vuepress/override.styl` 文件,这是一个 [Stylus](http://stylus-lang.com/) 文件,但是你仍然可以使用普通的 CSS 语法。

0 commit comments

Comments
 (0)