From 294accde545a7213b274c5b625b44a17ed72e0f3 Mon Sep 17 00:00:00 2001 From: xdite Date: Sun, 9 Oct 2011 16:29:02 +0800 Subject: [PATCH] facebook like option --- .themes/classic/source/_includes/after_footer.html | 1 + .themes/classic/source/_includes/facebook_like.html | 8 ++++++++ .themes/classic/source/_includes/post/sharing.html | 3 +++ _config.yml | 3 +++ 4 files changed, 15 insertions(+) create mode 100644 .themes/classic/source/_includes/facebook_like.html diff --git a/.themes/classic/source/_includes/after_footer.html b/.themes/classic/source/_includes/after_footer.html index 80a481e..b17f546 100644 --- a/.themes/classic/source/_includes/after_footer.html +++ b/.themes/classic/source/_includes/after_footer.html @@ -1,4 +1,5 @@ {% include disqus.html %} +{% include facebook_like.html %} {% include google_plus_one.html %} {% include twitter_sharing.html %} {% include google_analytics.html %} diff --git a/.themes/classic/source/_includes/facebook_like.html b/.themes/classic/source/_includes/facebook_like.html new file mode 100644 index 0000000..6c4c278 --- /dev/null +++ b/.themes/classic/source/_includes/facebook_like.html @@ -0,0 +1,8 @@ +
+ diff --git a/.themes/classic/source/_includes/post/sharing.html b/.themes/classic/source/_includes/post/sharing.html index f0f9b9d..e32500d 100644 --- a/.themes/classic/source/_includes/post/sharing.html +++ b/.themes/classic/source/_includes/post/sharing.html @@ -5,4 +5,7 @@ {% if site.google_plus_one %}
{% endif %} + {% if site.facebook_like %} +
+ {% endif %} diff --git a/_config.yml b/_config.yml index f40ccf1..26881bc 100644 --- a/_config.yml +++ b/_config.yml @@ -80,3 +80,6 @@ disqus_show_comment_count: false # Google Analytics google_analytics_tracking_id: + +# Facebook Like +facebook_like: true