We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e725ad2 commit a209665Copy full SHA for a209665
docs/default-theme-config/README.md
@@ -92,7 +92,7 @@ module.exports = {
92
93
### Disable the Navbar
94
95
-To disable the navbar globally, use `themeConfig.navbar`.
+To disable the navbar globally, use `themeConfig.navbar`:
96
97
``` js
98
// .vuepress/config.js
docs/zh/default-theme-config/README.md
@@ -90,7 +90,18 @@ module.exports = {
90
91
### 禁用导航栏
-你可以通过 `YAML front matter` 来禁用掉某个指定页面的导航栏:
+你可以使用 `themeConfig.navbar` 来禁用所有页面的导航栏:
+
+``` js
+// .vuepress/config.js
+module.exports = {
+ themeConfig: {
99
+ navbar: false
100
+ }
101
+}
102
+```
103
104
+你也可以通过 `YAML front matter` 来禁用某个指定页面的导航栏:
105
106
``` yaml
107
---
0 commit comments