- Download the zip file (or clone via git) and unzip it or clone the repo into
/_add-ons/
. - Ensure the folder name is
github
(Github timestamps the download folder). - Enjoy.
Calling the plugin from the theme is done with {{ github:profile account="blainsmith" gists="yes|no" }}
.
Calling the plugin from the theme is done with:
{{ github:repos account="ericbarnes" }}
<h2>{{ name }}</h2>
<p>{{ description }}</p>
<hr />
{{ /github:repos }}
Calling the plugin from the theme is done with:
{{ github:repo account="ericbarnes" repo="Statamic-GitHub-Plugin" }}
<h1>{{ name }}</h1>
<p>{{ description }}</p>
{{ /github:repo }}
For Repos please see github's api docs for full response data