-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: overwrite prev/next link #61
Conversation
@kiaking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the rebase! Just added 1 comment, please take a look.
@@ -1,13 +1,43 @@ | |||
import { defineComponent, computed } from 'vue' | |||
import { usePageData } from 'vitepress' | |||
import { useSiteData } from 'vitepress' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we merge this one with the above import?
import { useSiteData } from 'vitepress' | |
import { usePageData, useSiteData } from 'vitepress' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Merged!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks you so much for this 🙌
This is built on top of #56, should be merged after it.
Enable to explicitly overwrite or disable prev/next link for individual pages setting like this