Skip to content
Snippets Groups Projects
Verified Commit 85293141 authored by David Beniamine's avatar David Beniamine
Browse files

Fix call to page()

parent 604d8071
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@
</div>
<div id="nav" role="navigation" tabindex="-1">
<ul>
{% for page in pages(depthOffset=1) | sort_by('menu_order') if page.title and not page.hidden %}
{% for page in pages(depth=0, depthOffset=-1) | sort_by('menu_order') if page.title and not page.hidden %}
<li{% if page.id == current_page.id %} class="active"{% endif %}>
<a href="{{ page.url }}">{{ page.title }}</a>
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment