docs: add `siteTitle` description and example

pull/677/head
Percy Ma 3 years ago
parent 09b9ba2d10
commit 14711c1cbc
No known key found for this signature in database
GPG Key ID: A1803D3315E6CCBC

@ -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`

Loading…
Cancel
Save