vitepress-theme-default-plus
vitepress-theme-default-plus copied to clipboard
fix(useCollection): use base url in index finder
Currently, when a base url is configured, the findCurrentIndex function compares p.url (/relative-url) with route.path (/base/relative-url) which causes the current, previous and next pages to not be found.
This PR should fix that.
Deploy Preview for vitepress-theme-default-plus failed. Why did it fail? →
| Name | Link |
|---|---|
| Latest commit | b47a52a3d7bb753850f3badf75538641eebca6ca |
| Latest deploy log | https://app.netlify.com/sites/vitepress-theme-default-plus/deploys/66fba221b8f8650008852651 |
@pirog, could you please review this when you get the time? :)
@pirog, could you please review this whenever you have time? :)
https://github.com/lando/vitepress-theme-default-plus/pull/55