summaryrefslogtreecommitdiff
path: root/_site_build/_layouts/post.html
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2012-03-03 19:34:26 +0000
committerdavidtsadler <davidtsadler@googlemail.com>2012-03-03 19:34:26 +0000
commit0a2633126a4157d96c0ef8eef3eba80a72c89858 (patch)
tree13c21d50c15612e283674e96940d6a4d4fc79083 /_site_build/_layouts/post.html
parent61ee181397d5ba77127f8f12891a3b512a74b586 (diff)
Add social buttons to post.
Fix link to modernizr-2.5.3.min.js
Diffstat (limited to '_site_build/_layouts/post.html')
-rw-r--r--_site_build/_layouts/post.html14
1 files changed, 14 insertions, 0 deletions
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 %}
<span class="comment-count"> | <a href="{{ page.url }}#disqus_thread" data-disqus-identifier="{{ page.url }}">Comments</a></span>
{% endif %}
+ {% if page.social %}
+ <div class="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 %}
+ </div>
+ {% endif %}
</header>
{{ content }}
<footer>
+ {% if page.social %}
+ <div class="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 %}
+ </div>
+ {% endif %}
<nav>
<ul>
{% if page.previous.url %}