Changing share icon
Step-by-step guide to change your share icon in your site
Note: Be very careful with the spacing in the homepage.yml file. Your website will break if the spacing are incorrect
Before you start, make sure your share icon is in png
format and its size is exactly 600px by 600px as per Facebook’s requirement. Upload this share icon into the /images/
folder, giving it a name such as share-logo.png
.
- Select your “Staging” Branch
- In your repository, go to “_data” folder
- Edit homepage.yml file
- Change your share icon by adding or amending the section below inside homepage.yml
- Click on “Commit changes” button
# Sample homepage.yml file section for reference
# Image to appear on all pages when shared via WhatsApp, Facebook, etc
shareicon: /images/share-logo.png