]> git.ipfire.org Git - ipfire.org.git/commitdiff
wiki: Don't show breadcrumbs on index page
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 Nov 2018 16:52:06 +0000 (16:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 12 Nov 2018 16:52:55 +0000 (16:52 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/wiki/page.html

index f5cd8cff3157843a1ab39c03807dd9b029824e8b..42572c8f9666951339e2886e6c171f7183769ffe 100644 (file)
@@ -13,7 +13,9 @@
 {% end block %}
 
 {% block main %}
-       {% module WikiNavbar(page) %}
+       {% if not request.path == "/" %}
+               {% module WikiNavbar(page) %}
+       {% end %}
 
        <div class="card mb-3">
                <div class="card-body">