ifiokjr / gatsby-plugin-next-seo

Gatsby Plugin Next SEO is a plug in that makes managing your SEO easier in Gatsby projects.
MIT License
196 stars 20 forks source link

feat: add `htmlAttributes` prop #33

Closed dvzrd closed 3 years ago

dvzrd commented 3 years ago

Description

Notes

This is in reference to Issue #25 where a prefix is required for og metatags to work properly in linked-in - see this post for more details .

Should be able to now pass the prefix or any other html attributes using the htmlAttributes prop like this:

htmlAttributes: {
   prefix: "og: https://ogp.me/ns#",
}

Checklist

dvzrd commented 3 years ago

You may need to review the HtmlAttributes type placeholder I added as it only accounts for lang and prefix props

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: