blog icon indicating copy to clipboard operation
blog copied to clipboard

fix: navigating from index page to the new Vue 3 post

Open ElMassimo opened this issue 3 years ago • 1 comments

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)

ElMassimo avatar Feb 01 '22 21:02 ElMassimo

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.

lsfgrd avatar Feb 06 '22 02:02 lsfgrd