aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_layouts
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-30 12:04:33 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-30 12:06:02 -0400
commit1db23acd781c0c869277bbaf001d28f968bea1b1 (patch)
tree42096a346bad1499813e5ca6aa49a3c186eef23a /.themes/classic/source/_layouts
parent141800087f728389ab3cd1ae266b2273a078073f (diff)
downloadmy_new_personal_website-1db23acd781c0c869277bbaf001d28f968bea1b1.tar.xz
my_new_personal_website-1db23acd781c0c869277bbaf001d28f968bea1b1.zip
added multi sidebar support
Diffstat (limited to '.themes/classic/source/_layouts')
-rw-r--r--.themes/classic/source/_layouts/default.html3
-rw-r--r--.themes/classic/source/_layouts/page.html9
-rw-r--r--.themes/classic/source/_layouts/post.html9
3 files changed, 18 insertions, 3 deletions
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html
index f6333435..57147575 100644
--- a/.themes/classic/source/_layouts/default.html
+++ b/.themes/classic/source/_layouts/default.html
@@ -6,9 +6,6 @@
<div id="main">
<div id="content">
{{ content | expand_urls: root_url | backtick_codeblock | smart_quotes }}
- {% unless page.sidebar == false %}
- <aside role=sidebar>{% include sidebar.html %}</aside>
- {% endunless %}
</div>
</div>
<footer>{% include footer.html %}</footer>
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html
index 34cb3430..6710f8b1 100644
--- a/.themes/classic/source/_layouts/page.html
+++ b/.themes/classic/source/_layouts/page.html
@@ -29,3 +29,12 @@ layout: default
</section>
{% endif %}
</div>
+{% unless page.sidebar == false %}
+<aside role=sidebar>
+ {% if site.page_asides.size %}
+ {% include_array page_asides %}
+ {% else %}
+ {% include_array default_asides %}
+ {% endif %}
+</aside>
+{% endunless %}
diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html
index 0e1004f0..78557c04 100644
--- a/.themes/classic/source/_layouts/post.html
+++ b/.themes/classic/source/_layouts/post.html
@@ -24,3 +24,12 @@ single: true
</section>
{% endif %}
</div>
+{% unless page.sidebar == false %}
+<aside role=sidebar>
+ {% if site.post_asides.size %}
+ {% include_array post_asides %}
+ {% else %}
+ {% include_array default_asides %}
+ {% endif %}
+</aside>
+{% endunless %}