Another javascript version
stefansundin opened this issue · comments
Stefan Sundin commented
Hi. I made my own version of this that I use on my github pages. It only has support for the Star button with the large size. The only thing you can customize is the repo.
Include these files on your website:
- https://github.com/stefansundin/superf4/blob/gh-pages/css/github-btn.scss
- https://github.com/stefansundin/superf4/blob/gh-pages/js/github-btn.coffee
Then add the button like this:
- https://github.com/stefansundin/superf4/blob/gh-pages/_includes/footer.html
site.github_repo
isstefansundin/superf4
in this case.
Example:
Just want to put this here in case anyone wants to copy it.
Cheers.