From 14711c1cbc5f9a28752d76824b3d7bc79a9645f7 Mon Sep 17 00:00:00 2001 From: Percy Ma Date: Sun, 29 May 2022 20:21:23 +0800 Subject: [PATCH] docs: add `siteTitle` description and example --- docs/config/theme-configs.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/config/theme-configs.md b/docs/config/theme-configs.md index d06ef78c..58491c79 100644 --- a/docs/config/theme-configs.md +++ b/docs/config/theme-configs.md @@ -33,6 +33,20 @@ export default { } ``` +## siteTitle + +- Type: `string | false` + +You can customize this item to replace the default site title (`title` in app config) in nav. When you set `logo`, you can set it to `false` to hide the title. + +```ts +export default { + themeConfig: { + siteTitle: 'Hello World' + } +} +``` + ## footer - Type: `Footer`