... | ... |
@@ -1,11 +1,11 @@ |
1 | 1 |
{% include head.html %} |
2 |
-<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == 'none' %} class="no-sidebar" {% endif %}> |
|
2 |
+<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %}> |
|
3 | 3 |
<header>{% include header.html %}</header> |
4 | 4 |
<nav>{% include navigation.html %}</nav> |
5 | 5 |
<div id="main"> |
6 | 6 |
<div id="content"> |
7 | 7 |
{{ content }} |
8 |
- {% unless page.sidebar == 'none' %} |
|
8 |
+ {% unless page.sidebar == false %} |
|
9 | 9 |
<aside role=sidebar>{% include sidebar.html %}</aside> |
10 | 10 |
{% endunless %} |
11 | 11 |
</div> |
... | ... |
@@ -6,17 +6,17 @@ layout: default |
6 | 6 |
<article> |
7 | 7 |
<header> |
8 | 8 |
<h1 class="entry-title">{{ page.title | titlecase }}</h1> |
9 |
- {% unless page.no_meta or !index %}<p class="meta">{% include post/date.html %}</p>{% endunless %} |
|
9 |
+ {% if page.meta == false or !page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %} |
|
10 | 10 |
</header> |
11 | 11 |
{{ content | smart_quotes }} |
12 |
- {% unless page.no_footer %} |
|
12 |
+ {% unless page.footer == false %} |
|
13 | 13 |
<footer> |
14 | 14 |
{% if page.date %} |
15 | 15 |
<p class="meta"> |
16 | 16 |
{% include post/date.html %} |
17 | 17 |
</p> |
18 | 18 |
{% endif %} |
19 |
- {% unless page.no_sharing %} |
|
19 |
+ {% unless page.sharing == false %} |
|
20 | 20 |
{% include post/sharing.html %} |
21 | 21 |
{% endunless %} |
22 | 22 |
</footer> |
... | ... |
@@ -12,12 +12,12 @@ single: true |
12 | 12 |
{% include post/date.html %} |
13 | 13 |
{% include post/categories.html %} |
14 | 14 |
</p> |
15 |
- {% unless page.no_sharing %} |
|
16 |
- {% include post/sharing.html %} |
|
15 |
+ {% unless page.sharing == false %} |
|
16 |
+ {% include post/sharing.html %} |
|
17 | 17 |
{% endunless %} |
18 | 18 |
</footer> |
19 | 19 |
</article> |
20 |
-{% if site.disqus_short_name and page.no_comments != true %} |
|
20 |
+{% if site.disqus_short_name and page.comments == true %} |
|
21 | 21 |
<section> |
22 | 22 |
<h1>Comments</h1> |
23 | 23 |
<div id="disqus_thread">{% include post/disqus_thread.html %}</div> |