Page Navigation
The page navigation at the bottom of each note enables you to move to the previous or next note, following the order specified in the Sidebar.
Per-Note Configuration
You can customize the page navigation for an individual note by setting the prevPage
and nextPage
frontmatter variables. Use the same wikilink syntax as in your notes to reference a previous or next note.
---
prevPage: "[[My previous note]]"
nextPage: "[[My next note]]"
---
My note content
Alternatively, you can disable the page navigation for an individual note by setting the prevPage
and/or nextPage
frontmatter variables to false
as shown below:
---
prevPage: false
nextPage: false
---
My note content
Configuration
You can configure the page navigation globally in the Configuration file.
// /app.mjs
export default defineConfig({
pageNav: {
// Whether to display the page navigation.
// - "on": display page navigation based on sidebar and frontmatter configuration
// - "manual": display page navigation based on frontmatter configuration only
// - "off": do not display page navigation
mode: "manual",
},
});