docs: fix when the global footer is displayed (#1026)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/1034/head
Akhilesh Kataria 2 years ago committed by GitHub
parent 70125e7b91
commit f939b8a8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
# Footer
When the [page layout](./theme-layout) is set to either `home` or `page`, VitePress will display global footer at the bottom of the page. Set `themeConfig.footer` to configure footer content.
VitePress will display global footer at the bottom of the page when `themeConfig.footer` is present.
```ts
export default {
@ -23,4 +23,4 @@ export interface Footer {
}
```
Note that footer will not be displayed when the page layout is set to `doc`.
Note that footer will not be displayed when the [SideBar](./theme-sidebar) is visible.

Loading…
Cancel
Save