Edit page

Footer

Added option to add footer to documents with different options.

  • Navigation (previous and next document)
  • Updated date

Config

Inside doczrc.js file there is a themeConfig.footer.navigation option.

The navigation setting can be overriden inside the document itself with the navigation option.
//doczrc.js
export default {
themeConfig: {
footer: {
navigation: true,
},
},
};
---
name: Footer
route: /ui/footer
menu: UI
navigation: false
---
# My mdx file

Options

NameTypeDefaultDescription
navigationbooleanfalseSpecify if the navigation should be shown.

Updated date

Display the document last updated date in the footer.

---
name: Footer
route: /ui/footer
menu: UI
updated: 2020-05-15 12:00:00
---
# My mdx file

Options

NameTypeDefaultDescription
updatedstringA valid date string (ISO format).
Last updated