- {% assign post_count = site.posts|size %}
- {% if site.navigation != 0 and site.navigation == 1 or post_count > 0 %}
+ {%- assign post_count = site.posts|size %}
+ {%- if site.navigation != 0 and site.navigation == 1 or post_count > 0 %}
{% include navigation.html %}
@@ -30,27 +30,27 @@
{{ content }}
- {% else %}
+ {%- else %}
{{ content }}
- {% endif %}
+ {%- endif %}
- {% if page.disqus == 1 %}
+ {%- if page.disqus == 1 %}
- {% if site.navigation == 1 or post_count > 0 %}
+ {%- if site.navigation == 1 or post_count > 0 %}
- {% else %}
+ {%- else %}
- {% endif %}
+ {%- endif %}
- {% endif %}
+ {%- endif %}