... | ... |
@@ -6,9 +6,6 @@ |
6 | 6 |
<div id="main"> |
7 | 7 |
<div id="content"> |
8 | 8 |
{{ content | expand_urls: root_url | backtick_codeblock | smart_quotes }} |
9 |
- {% unless page.sidebar == false %} |
|
10 |
- <aside role=sidebar>{% include sidebar.html %}</aside> |
|
11 |
- {% endunless %} |
|
12 | 9 |
</div> |
13 | 10 |
</div> |
14 | 11 |
<footer>{% include footer.html %}</footer> |
... | ... |
@@ -29,3 +29,12 @@ layout: default |
29 | 29 |
</section> |
30 | 30 |
{% endif %} |
31 | 31 |
</div> |
32 |
+{% unless page.sidebar == false %} |
|
33 |
+<aside role=sidebar> |
|
34 |
+ {% if site.page_asides.size %} |
|
35 |
+ {% include_array page_asides %} |
|
36 |
+ {% else %} |
|
37 |
+ {% include_array default_asides %} |
|
38 |
+ {% endif %} |
|
39 |
+</aside> |
|
40 |
+{% endunless %} |
... | ... |
@@ -24,3 +24,12 @@ single: true |
24 | 24 |
</section> |
25 | 25 |
{% endif %} |
26 | 26 |
</div> |
27 |
+{% unless page.sidebar == false %} |
|
28 |
+<aside role=sidebar> |
|
29 |
+ {% if site.post_asides.size %} |
|
30 |
+ {% include_array post_asides %} |
|
31 |
+ {% else %} |
|
32 |
+ {% include_array default_asides %} |
|
33 |
+ {% endif %} |
|
34 |
+</aside> |
|
35 |
+{% endunless %} |
... | ... |
@@ -1,6 +1,5 @@ |
1 | 1 |
--- |
2 | 2 |
layout: default |
3 |
-meta: false |
|
4 | 3 |
footer: false |
5 | 4 |
--- |
6 | 5 |
<div class="blog-index"> |
... | ... |
@@ -36,3 +35,10 @@ footer: false |
36 | 36 |
</script> |
37 | 37 |
{% endif %} |
38 | 38 |
</div> |
39 |
+<aside role=sidebar> |
|
40 |
+ {% if site.blog_index_asides.size %} |
|
41 |
+ {% include_array blog_index_asides %} |
|
42 |
+ {% else %} |
|
43 |
+ {% include_array default_asides %} |
|
44 |
+ {% endif %} |
|
45 |
+</aside> |