Closed indcoder closed 4 years ago
I don't think these are missing, but please reopen with a specific example. See https://github.com/google/eleventy-high-performance-blog/blob/main/_includes/layouts/base.njk#L29
<meta name="twitter:image:alt" content="Alt text for image">
Below is what I had customized in our repo, with logo location set as metadata. https://github.com/HackerspaceMumbai/goog11ty/blob/96480d3246d91d6d823c25e50edf86256725e44a/_includes/layouts/base.njk#L33
<meta property="og:url" content="https://eleventy-high-performance-blog-sample.industrialempathy.com/posts/fourthpost/">
And the blog name:
<meta property="og:site_name" content="Industrial Empathy, Inc.">
OG:URL is redundant.
For most blogs, they have to keep two Gods happy, the PageRank[Search Results] and EdgeRank[SocialFeed].
If the template is looking to support folks to move their blogs to it, then og:url is an important parameter to ensure their blog posts don't suffer in their ranking.
Please open this issue; a PR is incoming 😁
In practice they read the canonical URL instead. It would only make sense to specify og:url
if the values would be different.
Social media cards for the blogs posts are a vital visual cue that invites reader to peruse the blog post. Also an image on the social media card makes it appear more "professional"