bridgetownrb / bridgetown-seo-tag

A Bridgetown plugin to add metadata tags for search engines and social networks to better index and display your site's content.
MIT License
29 stars 7 forks source link

OG tags generated are not complete #3

Closed stevegeek closed 2 years ago

stevegeek commented 3 years ago

OG tags must have og:title, og:image, og:type and og:url to be a valid minimum set. https://ogp.me

However the SEO plugin does not include og:type unless on blog posts

Would be great if og:type would fallback to website when not article or specified somehow else (eg via front matter)

jaredcwhite commented 3 years ago

Great point! Kinda surprised Jekyll's seo plugin (on which this was originally based) never correctly included that.

jaredcwhite commented 3 years ago

Ah, relevant PR over there: https://github.com/jekyll/jekyll-seo-tag/pull/391