Add Open Graph image support for better social media sharing#594
Open
nihalxkumar wants to merge 1 commit intoarchlinux:masterfrom
Open
Add Open Graph image support for better social media sharing#594nihalxkumar wants to merge 1 commit intoarchlinux:masterfrom
nihalxkumar wants to merge 1 commit intoarchlinux:masterfrom
Conversation
- Add og-image.png to sitestatic/logos/ - Update base.html template to include Open Graph meta tags
Member
|
Never heard of Open Graph before, who uses this? And do you have a link to the spec? |
Author
@jelly, Open Graph is a web standard to have an image along the link when shared on social media. As things are presently, it doesn't even show a grey box. With this PR, The image and description will work on all major social platforms like: X, Mastodon, GitHub, Discord, Whatsapp, Signal etc Used by mostly all major websites, including linux distributions like Ubuntu Live example from Ubuntu: https://www.opengraph.xyz/url/https%3A%2F%2Fubuntu.com spec: https://ogp.me/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds Open Graph image support to archweb to improve link previews on social platforms.
og-image.pngtositestatic/logos/base.htmltemplate to include Open Graph meta tagsRef: https://bbs.archlinux.org/viewtopic.php?pid=2268223#p2268223