Skip to content

Commit

Permalink
docs(cn): update doc for hiding edit link by page (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Apr 28, 2018
1 parent d46819c commit f0b33e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/zh/default-theme-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,14 @@ module.exports = {
}
```

你可以通过 `YAML front matter` 来禁用指定页面的编辑链接:

``` yaml
---
editLink: false
---
```

## 简单的 CSS 覆盖

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

0 comments on commit f0b33e1

Please sign in to comment.