Skip to content

Twitter preview #31

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

Closed
ozkriff opened this issue Oct 20, 2019 · 4 comments
Closed

Twitter preview #31

ozkriff opened this issue Oct 20, 2019 · 4 comments

Comments

@ozkriff
Copy link
Member

ozkriff commented Oct 20, 2019

Atm, the twitter preview is quite boring:

image

It may be worth to investigate additional meta tags a little to make it look nicer:
https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary

@17cupsofcoffee
Copy link
Collaborator

17cupsofcoffee commented Oct 20, 2019

Looking at the site, there does appear to be some relevant meta tags in there already, courtesy of a plugin:

image

So we'd probably be best off making any tweaks through that plugin's config.

@17cupsofcoffee
Copy link
Collaborator

#42 would indirectly fix this (by virtue of Rewriting The Whole Dang Thing), if we decide to go that route.

@17cupsofcoffee
Copy link
Collaborator

With the updated tags from the Zola rewrite, the preview for a post now looks like this:

image

Main differences being that we have a higher-res image and more control over the text displayed. I've got it set up so that it'll display the post summary if one exists, or the first 100 words if not. Let me know if you're happy with this, or if you think it needs any more tweaks :)

@ozkriff
Copy link
Member Author

ozkriff commented Nov 30, 2019

Awesome!

@ozkriff ozkriff closed this as completed Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants