# Installation
Clone the repository into `~/public_html/plugins/ShareButtons`:

```bash
git clone https://YOUR_BITBUCKET_ACCOUNT@bitbucket.org/mtcmedia/core-plugins-sharebuttons.git ~/MY_FORK/plugins/ShareButtons && rm -rf ~/MY_FORK/plugins/ShareButtons/.git
```

When you visit the site next your settings constants will be automatically created.

# Usage
~~Include the "share_buttons" function to use this within your project.  Include the template name as the first argument and it will override the default which is found at 'social/share_button.twig'.~~

Three function are available: 

```bash
{{ follow_buttons(optional 'custom/template.twig') }}
```
```bash
{{ add_this_default(optional 'custom/template.twig') }}
```
```bash
{{ share_this_default(optional 'custom/template.twig') }}
```


# Edit the Template
Should you wish to tailor the template make a copy of the social/share_links.twig file and place it in the root of your sites/YOUR_SITE/templates folder... it will then override the plugin version of the template.  CSS is not included with this plugin so you can write your own styles here.