mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
Prepare Google+ badge. Load CSE script asynchronously.
This commit is contained in:
parent
415d1e811e
commit
7d950ce7ea
15
_includes/googleplus-badge.html
Normal file
15
_includes/googleplus-badge.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!-- FROM: https://developers.google.com/+/web/badge/ -->
|
||||
|
||||
<!-- Place this tag where you want the widget to render. -->
|
||||
<div class="g-person" data-href="//plus.google.com/u/0/114054672576929802335" data-layout="landscape" data-rel="author"></div>
|
||||
|
||||
<!-- Place this tag after the last widget tag. -->
|
||||
<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/platform.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
||||
})();
|
||||
</script>
|
@ -26,7 +26,7 @@
|
||||
{% if page.toc %}
|
||||
<script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script>
|
||||
{% endif %}
|
||||
<script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript"></script>
|
||||
<script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript" async></script>
|
||||
<script src="{{ site.url }}/javascripts/comments.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body itemscope itemtype="http://schema.org/Blog">
|
||||
|
Loading…
Reference in New Issue
Block a user