strapi / nextjs-corporate-starter

Strapi Demo application for Corporate Websites using Next.js
MIT License
1.08k stars 337 forks source link

Fix Metadata/SEO #32

Closed KennyAtCodin closed 1 year ago

KennyAtCodin commented 1 year ago

On the pages and global content type, the SEO plugin should also be used. Also, it seems that the metadata is not loaded correctly for any of the pages, always the global values are used.

@PaulBratslavsky is that correct? I will try to implement this for the dynamic pages which I'm currently developing

PaulBratslavsky commented 1 year ago

@KennyAtCodin Since this is a basic starter Strapi example. We did not implement all the features and just used it as a starting point. Hence we only have the one global example of using SEO.

But I agree with you, we should add that to all the pages.

If you like you can create a PR for this ( only when have you have the time ) , but I will add it to the list of things to do.

Thank you 🙂

PaulBratslavsky commented 1 year ago

SEO added for pages dynamically set from strapi admin using the seo component