Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(template): use og:image for twitter #174

Merged
merged 1 commit into from Apr 3, 2017
Merged

refactor(template): use og:image for twitter #174

merged 1 commit into from Apr 3, 2017

Conversation

ghost
Copy link

@ghost ghost commented Apr 3, 2017

#77 and #78 added support for different images on Twitter and Facebook, an advanced feature of SEO Tag Gem. The implementation has led to complications updating JSON-LD data in #151. Under Pareto principal (I also did a quick and dirty search on GitHub) we can reasonably assume this feature is not often used, and, as such, should be removed. The result of which simplifies template logic, offers a fallback experience by leveraging Twitter's use of og:image in place of twitter:image (sees twitter card tag ref) and helps unblock #151.

Users can no longer specify a separate twitter and Facebook image. If both a Facebook (Open Graph) and Twitter image are provided in the image object, the Facebook image will take precedence.

#77 and #78 added support for different images on Twitter and Facebook, an advanced feature of SEO
Tag Gem. The implementation has led to complications updating JSON-LD data in #151. Under Pareto
principal we can reasonably assume this feature is not often used, and, as such, should be removed.
The result of which simplifies template logic, offers a fallback experience by leverages Twitter's
use of `og:image` in place of `twitter:image` (sees twitter card tag ref) and helps unblock #151.

Users can no longer specify a separate twitter and Facebook image. If both a Facebook (Open Graph)
and Twitter image are provided in the `image` object, the Facebook image will take precedence.
@ghost ghost mentioned this pull request Apr 3, 2017
3 tasks
Copy link
Member

@pathawks pathawks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks 🎉🍻

@benbalter
Copy link
Collaborator

Thanks @jhabdas! 🎉 🌮 🦃

@benbalter
Copy link
Collaborator

@jekyllbot: merge +minor

@benbalter benbalter merged commit 32ec930 into jekyll:master Apr 3, 2017
@ghost ghost deleted the twitter-uses-og-image branch April 3, 2017 17:51
@jekyll jekyll locked and limited conversation to collaborators Apr 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants