summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/_layouts/page.html4
-rw-r--r--source/_layouts/post.html4
2 files changed, 5 insertions, 3 deletions
diff --git a/source/_layouts/page.html b/source/_layouts/page.html
index cf64047..5c1381d 100644
--- a/source/_layouts/page.html
+++ b/source/_layouts/page.html
@@ -8,8 +8,8 @@ layout: default
{% endif %}
<div class="entry-content">{{ content }}</div>
</article>
-{% unless page.footer == false %}
- {% include post/sharing.html %}
+{% unless page.sharing == false %}
+ {% include post/sharing.html %}
{% endunless %}
{% if site.disqus_short_name and page.comments == true %}
<section id="comment">
diff --git a/source/_layouts/post.html b/source/_layouts/post.html
index bab0f87..82990f0 100644
--- a/source/_layouts/post.html
+++ b/source/_layouts/post.html
@@ -4,7 +4,9 @@ single: true
---
<article class="post">{% include article.html %}</article>
-{% include post/sharing.html %}
+{% unless page.sharing == false %}
+ {% include post/sharing.html %}
+{% endunless %}
{% if site.disqus_short_name and page.comments == true %}
<section id="comment">
<h1 class="title">Comments</h1>