This is an experiment how to improve the apearance of GitHub repoository on social media, like Twitter, Facebook and LinkedIn.
Website: https://set0gut1.github.io/good-looking-repository/
media | repository itself | GitHub Page |
---|---|---|
Even if you want to display the application's logo when social media sharing, your account profile image (often is a face picture) is used as og:image. Your face is also stretched in LinkedIn. This is not good looking.
A message is appended on twitter: "Contribute to <repository-name> development by creating an account on GitHub". I think this message is nice, but may not suitable on situation such that portrait list.
The solution is to create an application website using the appropriate ogp tag and use it for sharing on social media. This is easy with the GitHub Pages.
Required steps:
The contents of _config.yml are like this.
theme: jekyll-theme-cayman
twitter:
username: set0gut1
defaults:
- scope:
path: ""
values:
image:
path: /img/logo.jpg
height: 630
width: 1200