import{_ as e,c as i,ag as a,o as t}from"./chunks/framework.C1C4sYC0.js";const c=JSON.parse('{"title":"Prev Next Links","description":"","frontmatter":{},"headers":[],"relativePath":"reference/default-theme-prev-next-links.md","filePath":"en/reference/default-theme-prev-next-links.md","lastUpdated":1719560776000}'),n={name:"reference/default-theme-prev-next-links.md"};function l(p,s,h,r,o,d){return t(),i("div",null,s[0]||(s[0]=[a(`
You can customize the text and link for the previous and next pages (shown at doc footer). This is helpful if you want a different text there than what you have on your sidebar. Additionally, you may find it useful to disable the footer or link to a page that is not included in your sidebar.
Type: string | false | { text?: string; link?: string }
Details:
Specifies the text/link to show on the link to the previous page. If you don't set this in frontmatter, the text/link will be inferred from the sidebar config.
Examples:
To customize only the text:
---
prev: 'Get Started | Markdown'
---To customize both text and link:
---
prev:
text: 'Markdown'
link: '/guide/markdown'
---To hide previous page:
---
prev: false
---Same as prev but for the next page.