Added Google Plus Share for blog post

This commit is contained in:
chipset 2015-11-05 15:16:00 +05:30
parent b0a8b934d2
commit c34a84a7c6
3 changed files with 10 additions and 0 deletions

View file

@ -61,6 +61,7 @@ paginate: 5
fb-share: True
twitter-share: True
reddit-share: True
google-plus-share: True
disqus-shortname: "panossakkos"
###############

View file

@ -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>

View file

@ -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>