Added Google Plus Share for blog post
This commit is contained in:
parent
b0a8b934d2
commit
c34a84a7c6
3 changed files with 10 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ paginate: 5
|
|||
fb-share: True
|
||||
twitter-share: True
|
||||
reddit-share: True
|
||||
google-plus-share: True
|
||||
disqus-shortname: "panossakkos"
|
||||
|
||||
###############
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
|
||||
<!-- Javascript Start -->
|
||||
|
||||
<!-- Google Plus Share -->
|
||||
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,12 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if site.google-plus-share %}
|
||||
<div style="float:left; padding: 0 5px; vertical-align:top">
|
||||
<div class="g-plus" data-action="share" data-href="{{site.url}}{{ site.baseurl}}{{page.url}}" data-annotation="bubble"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if site.reddit-share %}
|
||||
<div style="float:left; padding: 0 5px; vertical-align:top">
|
||||
<script type="text/javascript">reddit_newwindow='1'</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue