From 1db23acd781c0c869277bbaf001d28f968bea1b1 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 30 Jul 2011 12:04:33 -0400 Subject: [PATCH] added multi sidebar support --- .themes/classic/source/_layouts/default.html | 3 --- .themes/classic/source/_layouts/page.html | 9 +++++++++ .themes/classic/source/_layouts/post.html | 9 +++++++++ .themes/classic/source/index.html | 8 +++++++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html index f633343..5714757 100644 --- a/.themes/classic/source/_layouts/default.html +++ b/.themes/classic/source/_layouts/default.html @@ -6,9 +6,6 @@
{{ content | expand_urls: root_url | backtick_codeblock | smart_quotes }} - {% unless page.sidebar == false %} - - {% endunless %}
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html index 34cb343..6710f8b 100644 --- a/.themes/classic/source/_layouts/page.html +++ b/.themes/classic/source/_layouts/page.html @@ -29,3 +29,12 @@ layout: default {% endif %} +{% unless page.sidebar == false %} + +{% endunless %} diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html index 0e1004f..78557c0 100644 --- a/.themes/classic/source/_layouts/post.html +++ b/.themes/classic/source/_layouts/post.html @@ -24,3 +24,12 @@ single: true {% endif %} +{% unless page.sidebar == false %} + +{% endunless %} diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index 4719cd1..7f4c0e1 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -1,6 +1,5 @@ --- layout: default -meta: false footer: false ---
@@ -36,3 +35,10 @@ footer: false {% endif %}
+