From b1ff177d9b620c23a3a6fcf0350a0e32cd149cfb Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Wed, 2 May 2012 16:01:27 +0800 Subject: "page.footer" to control the display of footer. In page layout pages, we could use page.footer to control whether to display the footer. --- source/_layouts/page.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 %}
{{ content }}
-{% include post/sharing.html %} +{% unless page.footer == false %} + {% include post/sharing.html %} +{% endunless %} {% if site.disqus_short_name and page.comments == true %}

Comments

-- cgit v1.1-2-g2b99