Commit 8e2be692 authored by chrissi^'s avatar chrissi^

Add Sorting for Help-Section

Signed-off-by: chrissi^'s avatarChris Fiege <>
parent de5c5c32
template: page_html.html
title: FAQ
sort: 100
<div class="container">
sort: 300
SSH-Zugang auf dem eigenen Router
......@@ -51,9 +51,9 @@
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="/faq/faq.html">FAQ <span class="caret"></span></a>
<a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="/faq/faq.html">Hilfe <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% with contents=context.contents.filter(path__startswith="faq") %}
{% with contents=context.contents.filter(path__startswith="faq").order_by("sort") %}
{% for content in contents %}
<li role="presentation"><a role="menuitem" tabindex="-1" href="{{ content.url }}">{{ content.title }}</a></li>
{% endfor %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment