blog
blog copied to clipboard
fix: navigating from index page to the new Vue 3 post
Spotted this one when adding the new post to the îles demo 😃
Since the rendered markdown could be used in different pages, the easiest fix is to use the full path.
Replication Steps
- Visit the index page
- Click on Potential Required Actions
- Stays on the page (
https://blog.vuejs.org/#potential-required-actions
)
Nice catch.
Side note: I'm working on a fork of the blog to try vitepress as my main static blog generator, and will try to create a "harder" fix for this.
I'm thinking that the post data generation should be smarter when it finds anchor links on the excerpt. We can probably get away with a single "replace" using the post path.