Canonical, meta-og:url, meta-og:image with getStaticProps? #11856
-
First of all, I want to say how impressive/easy is to use However, I'm getting troubles adding SEO info as I'm using Zeit as hosting. Is there a default environment variable or some way to know the current domain? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Bump |
Beta Was this translation helpful? Give feedback.
-
Try reading the environmental variables during build: https://vercel.com/docs/v2/build-step#system-environment-variables |
Beta Was this translation helpful? Give feedback.
-
BTW For me I found next-seo which solves my use case. |
Beta Was this translation helpful? Give feedback.
Try reading the environmental variables during build: https://vercel.com/docs/v2/build-step#system-environment-variables