Closed galaxy79 closed 2 months ago
You can define them in your nuxt.config.ts
@galaxy79 for og:url
and og:type
using https://nuxt.com/docs/api/configuration/nuxt-config#head
I guess for the canonical we could add it in our AppLayout
@bdrtsky
Thanks .. I did it.. since it was released as a theme and these are important parameters for SEO, I thought it is better to be raise the issue
@Atinux i defined it in nuxt.config.ts
and it works for the index page. For each blog page, it still has the canonical as by index page url and how can i dynamically update it for each page ?
@Atinux I ran into the same issue as @galaxy79 . I have raised a PR to address it. https://github.com/nuxt-themes/alpine/pull/194
I was trying to test the alpine theme and saw that canonical and og:url properties are missing in the generated html file.