From 0a2633126a4157d96c0ef8eef3eba80a72c89858 Mon Sep 17 00:00:00 2001 From: davidtsadler Date: Sat, 3 Mar 2012 19:34:26 +0000 Subject: Add social buttons to post. Fix link to modernizr-2.5.3.min.js --- _site_build/_layouts/default.html | 13 +++++++++++-- _site_build/_layouts/post.html | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) (limited to '_site_build/_layouts') diff --git a/_site_build/_layouts/default.html b/_site_build/_layouts/default.html index 17944c5..264ad87 100644 --- a/_site_build/_layouts/default.html +++ b/_site_build/_layouts/default.html @@ -28,10 +28,19 @@ {% if site.production and site.google_ua %} - {% include google_analytics.html %} + {% include javascript/google_analytics.html %} +{% endif %} +{% if page.google_plus %} + {% include javascript/google_plus.html %} +{% endif %} +{% if page.twitter_share %} + {% include javascript/twitter.html %} +{% endif %} +{% if page.facebook_like %} + {% include javascript/facebook.html %} {% endif %} {% if (page.comments or page.show_comment_counts) and site.disqus_shortname %} - {% include disqus.html %} + {% include javascript/disqus.html %} {% endif %} diff --git a/_site_build/_layouts/post.html b/_site_build/_layouts/post.html index df3a342..51d78e3 100644 --- a/_site_build/_layouts/post.html +++ b/_site_build/_layouts/post.html @@ -11,9 +11,23 @@ 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 %} +
+ {% endif %} {{ content }}