Introduction

It can be very useful to allow people to easily share the content they have just read. Share buttons are often found on the footer of a blog post. This script automatically adds them to the content you want.

How it works

The script reads the page.title and the page.url and creates a share link. If the page has a page.image an additional Pinterest button wil be shown. The code is displayed below...  read more →

Installation

Step 1. Download the file share-buttons.html
Step 2. Save the file in the ‘_includes’ directory of your project
Step 3. Add the following line to your layout on the place where you want the share buttons to appear:

{% include share-buttons.html %}