Skip to main content
VitePress

Search documentation

Type to search this documentation.

On this pageOverview

Footer

VitePress will display global footer at the bottom of the page when themeConfig.footer is present.

TypeScript
export default {
  themeConfig: {
    footer: {
      message: 'Released under the MIT License.',
      copyright: 'Copyright © 2019-present Evan You'
    }
  }
}
TypeScript
export interface Footer {
  // The message shown right before copyright.
  message?: string

  // The actual copyright text.
  copyright?: string
}

The above configuration also supports HTML strings. So, for example, if you want to configure footer text to have some links, you can adjust the configuration as follows:

TypeScript
export default {
  themeConfig: {
    footer: {
      message: 'Released under the <a href="https://github.com/vuejs/vitepress/blob/main/LICENSE">MIT License</a>.',
      copyright: 'Copyright © 2019-present <a href="https://github.com/yyx990803">Evan You</a>'
    }
  }
}

Note that footer will not be displayed when the SideBar is visible.

This can be disabled per-page using the footer option on frontmatter:

YAML
---
footer: false
---
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu