self-host ghbtn for https support

This commit is contained in:
Leo Horie 2014-11-17 21:40:39 -05:00
parent 304c5a289b
commit d35c959424
2 changed files with 2 additions and 1 deletions

1
docs/layout/ghbtns.html Normal file

File diff suppressed because one or more lines are too long

View file

@ -30,7 +30,7 @@
<a class="button" href="mithril.min.zip">Download v$version</a>
</p>
<iframe src="http://ghbtns.com/github-btn.html?user=lhorie&repo=mithril.js&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
<iframe src="ghbtns.html?user=lhorie&repo=mithril.js&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://lhorie.github.io/mithril" data-via="LeoHorie">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>