From cbcc70fde18979e024ca4d0afd031fee60aff907 Mon Sep 17 00:00:00 2001 From: davidtsadler Date: Wed, 7 Mar 2012 16:19:26 +0000 Subject: Social buttons for posts controlled via _config.yml. --- _site_build/_includes/social/buttons.html | 5 +++++ _site_build/_layouts/post.html | 16 ++++------------ _site_build/css/style.css | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 _site_build/_includes/social/buttons.html (limited to '_site_build') diff --git a/_site_build/_includes/social/buttons.html b/_site_build/_includes/social/buttons.html new file mode 100644 index 0000000..828b435 --- /dev/null +++ b/_site_build/_includes/social/buttons.html @@ -0,0 +1,5 @@ +
+ {% if page.google_plus %}{% include social/google_plus.html %}{% endif %} + {% if page.twitter_share %}{% include social/twitter_share.html %}{% endif %} + {% if page.facebook_like %}{% include social/facebook_like.html %}{% endif %} +
diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index 51d78e3..df0dcd0 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -11,22 +11,14 @@ layout: default {% if page.comments and site.disqus_shortname %} | Comments {% endif %} - {% if page.social %} -
- {% if page.google_plus %}{% include social/google_plus.html %}{% endif %} - {% if page.twitter_share %}{% include social/twitter_share.html %}{% endif %} - {% if page.facebook_like %}{% include social/facebook_like.html %}{% endif %} -
+ {% if site.social_buttons %} + {% include social/buttons.html %} {% endif %} {{ content }}