mattstratton / castanet

A podcast-oriented theme for Hugo
MIT License
116 stars 61 forks source link

Ensure that all Open Graph tags are being used #170

Open mattstratton opened 6 years ago

mattstratton commented 6 years ago
<meta property="og:title" content="Article Title">
<meta property="og:type" content="article">
<meta property="og:url" content="http://www.example.com/article.html">
<meta property="og:image" content="http://www.example.com/image.png">
mattstratton commented 4 years ago

Along these lines, I want to refactor the social partials into a single, simpler partial.

See https://github.com/devopsdays/devopsdays-web/blob/master/themes/devopsdays-theme/layouts/partials/head/seo.html for reference.

GitHub
devopsdays/devopsdays-web
This is the website for devopsdays. Contribute to devopsdays/devopsdays-web development by creating an account on GitHub.
mattstratton commented 3 years ago

We should also add some tags to improve Slack unfurls, see this article https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254

For example, we could add tags like this:

<meta name="twitter:label1" value="Guests" />
<meta name="twitter:data1" value="George Bluth, Michael Bluth" />
<meta name="twitter:label2" value="Some other label" />
<meta name="twitter:data2" value="what else might we want?" />
Medium
Everything you ever wanted to know about unfurling but were afraid to ask /or/ How to make your…
Let’s start with the most obvious question first. This is what an “unfurl” is:
mattstratton commented 3 years ago

To be clear, the comment about "refactor the social partials into a single, simpler partial" was done in #237, so really the main work here is just to improve the Slack unfurls and check the other OG tags.