diff options
author | Hong Xu <xuhdev@gmail.com> | 2012-05-02 10:01:27 +0200 |
---|---|---|
committer | Hong Xu <xuhdev@gmail.com> | 2012-05-02 10:01:27 +0200 |
commit | b1ff177d9b620c23a3a6fcf0350a0e32cd149cfb (patch) | |
tree | e1a0cca8b293b9cc549ecab1c2cf5e1c8445720c /source/_layouts | |
parent | 97a5e760f0dbf3c5500b850983be8af002d24f4f (diff) | |
download | octopress-theme-jeyzu-b1ff177d9b620c23a3a6fcf0350a0e32cd149cfb.zip octopress-theme-jeyzu-b1ff177d9b620c23a3a6fcf0350a0e32cd149cfb.tar.gz |
"page.footer" to control the display of footer.
In page layout pages, we could use page.footer to control whether to
display the footer.
Diffstat (limited to 'source/_layouts')
-rw-r--r-- | source/_layouts/page.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/_layouts/page.html b/source/_layouts/page.html index e055aba..03c94e8 100644 --- a/source/_layouts/page.html +++ b/source/_layouts/page.html @@ -8,7 +8,9 @@ layout: default {% endif %} <div class="entry">{{ content }}</div> </article> -{% include post/sharing.html %} +{% unless page.footer == false %} + {% include post/sharing.html %} +{% endunless %} {% if site.disqus_short_name and page.comments == true %} <section id="comment"> <h1 class="title">Comments</h1> |