Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(theme): make prev/next links changeable #1972

Merged
merged 4 commits into from
Feb 25, 2023
Merged

Conversation

MarkusKeck
Copy link
Collaborator

@MarkusKeck MarkusKeck commented Feb 22, 2023

close #1914
close #1745

BREAKING CHANGE: The prev and next frontmatter options have been changed and are now nested.

close vuejs#1914

BREAKING CHANGE: The 'prev' and `next` frontmatter options have been changed.
@MarkusKeck
Copy link
Collaborator Author

Only change the text of the link:

---
prev:
  text: 'Getting Started'
---

Change the text and the link itself:

---
prev:
  text: 'Markdown'
  link: '/guide/markdown'
---

If you don't want a link to be displayed on a specific page you can also disable it:

---
prev:
  link: false
---

@brc-dd brc-dd self-assigned this Feb 25, 2023
@brc-dd brc-dd merged commit b8a5e8e into vuejs:main Feb 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make prev / next links changeable
2 participants