ashhitch / gatsby-plugin-wpgraphql-seo

Gatsby Plugin to Bring Yoast Seo Data into Gatsby via WpGraphQL.
MIT License
13 stars 8 forks source link

Meta property og:locale defaults to en_GB #4

Closed dwmyke closed 3 years ago

dwmyke commented 3 years ago

Meta property og:locale defaults to en_GB

I tried adding meta={{property:"og:locale", content:"en_US"}} to Seo component, but that adds a second entry into head. There's now 1 for en_GB and 1 for en_US.

Is there a better way to override this?

ashhitch commented 3 years ago

This is a bug, it should not be hard coded, will get that updated.

It should populate from the inLanguage field.

dwmyke commented 3 years ago

Ok got you. Thanks for this plugin, it's great!

ashhitch commented 3 years ago

this is now resolved