Sidebar menu ordered
This commit is contained in:
parent
9eed6939b4
commit
7ca986272e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
<nav>
|
<nav>
|
||||||
<a {% if this.path == '/' %}class="text-bold"{% endif %} href="{{ '/'|url }}">/home</a>
|
<a {% if this.path == '/' %}class="text-bold"{% endif %} href="{{ '/'|url }}">/home</a>
|
||||||
{% for section in site.get('/').children %}
|
{% for section in site.get('/').children.order_by("title") %}
|
||||||
<a {% if this.is_child_of(section) %}class="text-bold"{% endif %} href="{{ section|url }}">{{ section.path }}</a>
|
<a {% if this.is_child_of(section) %}class="text-bold"{% endif %} href="{{ section|url }}">{{ section.path }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue