template/wordpress/views/layout.twig in edge_framework-1.4.1 vs template/wordpress/views/layout.twig in edge_framework-2.0.0.a
- old
+ new
@@ -15,18 +15,18 @@
class="active"
{% endif %}>
{{ item.title }}
</a>
- {% if item.get_children %}
- <ul>
- {% for child in item.get_children %}
- <li>
- <a href="{{ child.get_link }}">{{ child.title }}</a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
+ {% if item.get_children %}
+ <ul>
+ {% for child in item.get_children %}
+ <li>
+ <a href="{{ child.get_link }}">{{ child.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
{% endfor %}
</nav>
<!-- Search -->
<form method="get" action="{{ home }}" role="search">
\ No newline at end of file