adamdehaven / website-comments-and-issues

Comments for posts on adamdehaven.com
https://www.adamdehaven.com/
0 stars 0 forks source link

[Comments] Building my new website with VuePress and Bulma #1

Open adamdehaven opened 4 years ago

adamdehaven commented 4 years ago

https://www.adamdehaven.com/blog/building-my-new-website-with-vuepress-and-bulma/

adarshmadrecha commented 4 years ago

I am keen to know how you added HTML meta tags for the SEO purpose. Specially canonical link tags. I am currently using vuepress-plugin-seo for adding Open Graph meta tags

adamdehaven commented 4 years ago

There isn't a great way to inject the canonical URL before page load due to the limitations of the SSR template; however, I created a method that injects/updates the canonical URL in the beforeMount method in my theme's GlobalLayout.vue file, and then updates it in the mounted() hook with this.$router.afterEach(). I have a separate draft post almost ready, and I'll include all the code with examples 🙌

adarshmadrecha commented 4 years ago

Thanks. Looking forward to this new Post with example code.

adamdehaven commented 4 years ago

@adarshmadrecha

Thanks. Looking forward to this new Post with example code.

The new post illustrating how to add metadata and structured data to your VuePress project is available now! :tada:

davidsowerby commented 3 years ago

Great article, thanks - I started using VuePress a little while back, but felt I wasn't getting the best from it. Now I know that's true!

DMiradakis commented 3 years ago

@adamdehaven I have gone back to your website several times over the past few months and I must say that your website is AMAZING! I love all of your brilliant UX components on here, like the theme changer and the rocket ship! Have you considered open sourcing this theme or any individual components that you use? I would love to learn from you, as I use VuePress for my personal website and am currently building a workplace documentation site with it (VuePress is awesome).