_includes/menu_item.html in no-style-please-0.4.0 vs _includes/menu_item.html in no-style-please-0.4.2
- old
+ new
@@ -1,26 +1,26 @@
<ul>
- {% for item in include.collection %}
+ {%-for item in include.collection-%}
<li>
{%- if item.url -%}
<a href="{{ item.url }}">{{ item.title }}</a>
{%- else -%}
{{ item.title }}
{%- endif -%}
</li>
- {% if item.post_list %}
+ {%-if item.post_list-%}
{%
include post_list.html
category=item.post_list.category
limit=item.post_list.limit
show_more=item.post_list.show_more
show_more_text=item.post_list.show_more_text
show_more_url=item.post_list.show_more_url
- %}
- {% endif %}
+ -%}
+ {%-endif-%}
- {% if item.entries %}
- {% include menu_item.html collection=item.entries %}
- {% endif %}
- {% endfor %}
+ {%-if item.entries-%}
+ {%-include menu_item.html collection=item.entries-%}
+ {%-endif-%}
+ {%-endfor-%}
</ul>
\ No newline at end of file