mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
533 B
27 lines
533 B
# Footer
|
|
|
|
VitePress will display global footer at the bottom of the page when `themeConfig.footer` is present.
|
|
|
|
```ts
|
|
export default {
|
|
themeConfig: {
|
|
footer: {
|
|
message: 'Released under the MIT License.',
|
|
copyright: 'Copyright © 2019-present Evan You'
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
```ts
|
|
export interface Footer {
|
|
// The message shown right before copyright.
|
|
message?: string
|
|
|
|
// The actual copyright text.
|
|
copyright?: string
|
|
}
|
|
```
|
|
|
|
Note that footer will not be displayed when the [SideBar](./theme-sidebar) is visible.
|