|
@ -228,8 +228,13 @@ |
|
|
<ul class="nav"> |
|
|
<ul class="nav"> |
|
|
<li>Group wiki pages</li> |
|
|
<li>Group wiki pages</li> |
|
|
<ul class="nav"> |
|
|
<ul class="nav"> |
|
|
|
|
|
{% if wiki_pages|selectattr("page_name", "eq", "index")|list %} |
|
|
|
|
|
<li class="nav-item"><a href="{{ request.route_url("group_wiki_page", group_path=group.path, wiki_page_slug="index") }}" class="text-bold">index</a></li> |
|
|
|
|
|
{% endif %} |
|
|
{% for page in wiki_pages %} |
|
|
{% for page in wiki_pages %} |
|
|
|
|
|
{% if page.page_name != "index" %} |
|
|
<li class="nav-item"><a href="{{ request.route_url("group_wiki_page", group_path=group.path, wiki_page_slug=page.slug) }}">{{ page.page_name }}</a></li> |
|
|
<li class="nav-item"><a href="{{ request.route_url("group_wiki_page", group_path=group.path, wiki_page_slug=page.slug) }}">{{ page.page_name }}</a></li> |
|
|
|
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
</ul> |
|
|
</ul> |
|
|