diff options
author | SkyArrow <tommy351@gmail.com> | 2012-07-16 03:22:11 +0200 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-07-16 03:22:11 +0200 |
commit | 1cbf29e405986bc14f19e63772f98232992d7bcf (patch) | |
tree | 6c5697be7ba6a20926c47c2d2999cfa79ade22f9 /source/_layouts | |
parent | 0d2d56352f7b3627a723f03061348848c2053a98 (diff) | |
parent | d8238192d9fc377fd3c3f80524d44b4aaeab79b1 (diff) | |
download | octopress-theme-jeyzu-1cbf29e405986bc14f19e63772f98232992d7bcf.zip octopress-theme-jeyzu-1cbf29e405986bc14f19e63772f98232992d7bcf.tar.gz |
Merge pull request #23 from robertwijas/master
page.banner & page.sharing
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> |