We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a4a8d commit ba7f586Copy full SHA for ba7f586
packages/docs/docs/zh/theme/default-theme-config.md
@@ -33,6 +33,19 @@ footer: MIT Licensed | Copyright © 2018-present Evan You
33
34
导航栏可能包含你的页面标题、[搜索框](#搜索框)、 [导航栏链接](#导航栏链接)、[多语言切换](../guide/i18n.md)、[仓库链接](#git-仓库和编辑链接),它们均取决于你的配置。
35
36
+### 导航栏 Logo
37
+
38
+你可以通过 `themeConfig.logo` 增加导航栏 Logo ,Logo 可以被放置在[公共文件目录](../guide/assets.md#public-files):
39
40
+``` js
41
+// .vuepress/config.js
42
+module.exports = {
43
+ themeConfig: {
44
+ logo: '/assets/img/logo.png',
45
+ }
46
+}
47
+```
48
49
### 导航栏链接
50
51
你可以通过 `themeConfig.nav` 增加一些导航栏链接:
0 commit comments