Add google plus button to front page

This commit is contained in:
Marcus Whybrow 2012-11-04 02:15:35 +00:00
parent 2a736020d2
commit 405020e39a
2 changed files with 13 additions and 0 deletions

View File

@ -67,5 +67,15 @@
typeof jQuery != 'undefined' && typeof jQuery.fn.modal == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/bootstrap.min.js" type="text/javascript"><\/script>'); typeof jQuery != 'undefined' && typeof jQuery.fn.modal == 'undefined' && document.write('<script src="{{ site.baseurl }}/assets/js/bootstrap.min.js" type="text/javascript"><\/script>');
</script> </script>
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/index.js"></script> <script type="text/javascript" src="{{ site.baseurl }}/assets/js/index.js"></script>
<!-- Google Plus Buttons -->
<script type="text/javascript">
window.___gcfg = {lang: 'en-GB'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</body> </body>
</html> </html>

View File

@ -29,6 +29,9 @@ tab: overview
<li class="text ga-track"><a href="{{ site.baseurl }}/docs/">Read the docs</a></li> <li class="text ga-track"><a href="{{ site.baseurl }}/docs/">Read the docs</a></li>
<li class="text ga-track"><a href="https://github.com/marcuswhybrow/minecraft-server-manager/issues">Submit an issue</a></li> <li class="text ga-track"><a href="https://github.com/marcuswhybrow/minecraft-server-manager/issues">Submit an issue</a></li>
<li class="text ga-track"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z7XQDNF7U5GLL">Donate</a></li> <li class="text ga-track"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z7XQDNF7U5GLL">Donate</a></li>
<li>
<div class="g-plusone" data-size="medium" data-href="http://msmhq.com/"></div>
</li>
</ul> </ul>
<div class="players"> <div class="players">