-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Hi,
The metadata function of Grav core is in essence an excellent function. Thanks for that.
There is only 1 problem and that is Facebook Metatags.
For example. Metadata: og:image' produces the HTML header:
<meta name="og:image" property="og:image" content="https://test.be/test.jpg" />
But it should be:
<meta property="og:image" content="https://test.be/test.jpg" />
As can be seen here:
Warnings That Should Be Fixed
Tag specified as 'name' instead of 'property'
The following meta tags are specified using 'name' instead of 'property' and will be ignored unless specified using the 'property' key: og:locale, og:type, og:title, og:description, og:url, og:site_name, fb:app_id, og:image
Reproduce:
- Add Metadata: og:image or any Facebook metadata as frontmatter.
- Test url via https://developers.facebook.com/tools/debug/sharing/
Please fix the Facebook metadata.
Thanks.