From cf27ed9aa72e16b87fc094a3ac5a7898871495e7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Nov 2014 09:14:10 -0500 Subject: [PATCH] Move social sharing links into an include --- _includes/social-share.html | 10 ++++++++++ _layouts/post.html | 13 +------------ 2 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 _includes/social-share.html diff --git a/_includes/social-share.html b/_includes/social-share.html new file mode 100644 index 0000000..cf3db5e --- /dev/null +++ b/_includes/social-share.html @@ -0,0 +1,10 @@ + + Tweet + + + Like + + + +1 + + \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 39f8ad2..a94758d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -36,18 +36,7 @@ {% if page.modified %}{% endif %} {% if site.owner.disqus-shortname and page.comments == true %} Comment{% endif %} - {% if page.share %} - - Tweet - - - Like - - - +1 - - - {% endif %} + {% if page.share %}{% include social-share.html %}{% endif %} {% if page.ads == true %}{% include ad-sidebar.html %}{% endif %}