ashhitch / gatsby-plugin-wpgraphql-seo

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

Issue with meta prop #21

Open arsicdejan96 opened 2 years ago

arsicdejan96 commented 2 years ago

Hello, thank you for effort you are putting in this package. I have a problem using meta prop, in README.md you said "meta: Array of key value objects for meta tags (e.g property, content)", but I'm not sure how to use it. "meta={[{ metaDesc: "DESCRIPTION" }, { metaKeywords: ["KEYWORD"] }]}" - this doesn't work.

dongepulango commented 2 years ago

For anyone coming here that have the same issue:

meta={[{
  name: `description`,
  content: metaDescription,
},]}

This should be in the README