diff options
Diffstat (limited to 'source/_layouts')
-rw-r--r-- | source/_layouts/default.html | 4 | ||||
-rw-r--r-- | source/_layouts/page.html | 4 | ||||
-rw-r--r-- | source/_layouts/post.html | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/source/_layouts/default.html b/source/_layouts/default.html index 70d04d1..a3fc49d 100644 --- a/source/_layouts/default.html +++ b/source/_layouts/default.html @@ -3,7 +3,9 @@ <body> <header id="header" class="inner">{% include header.html %}</header> - {% include banner.html %} + {% unless page.banner == false %} + {% include banner.html %} + {% endunless %} <div id="content" class="inner">{{ content | expand_urls: root_url }}</div> <footer id="footer" class="inner">{% include footer.html %}</footer> {% include after_footer.html %} 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> |