facebook like option
This commit is contained in:
parent
e4df98317a
commit
294accde54
@ -1,4 +1,5 @@
|
||||
{% include disqus.html %}
|
||||
{% include facebook_like.html %}
|
||||
{% include google_plus_one.html %}
|
||||
{% include twitter_sharing.html %}
|
||||
{% include google_analytics.html %}
|
||||
|
8
.themes/classic/source/_includes/facebook_like.html
Normal file
8
.themes/classic/source/_includes/facebook_like.html
Normal file
@ -0,0 +1,8 @@
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) {return;}
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));</script>
|
@ -5,4 +5,7 @@
|
||||
{% if site.google_plus_one %}
|
||||
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div>
|
||||
{% endif %}
|
||||
{% if site.facebook_like %}
|
||||
<div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -80,3 +80,6 @@ disqus_show_comment_count: false
|
||||
|
||||
# Google Analytics
|
||||
google_analytics_tracking_id:
|
||||
|
||||
# Facebook Like
|
||||
facebook_like: true
|
||||
|
Loading…
Reference in New Issue
Block a user