]> git.ipfire.org Git - ipfire.org.git/commitdiff
base: Add link to the documentation to the main nav
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Oct 2023 15:59:32 +0000 (15:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Oct 2023 15:59:32 +0000 (15:59 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 1e69dddbb9053011f25c5b2c71bf350fd6f3dc0c..658a4411262c412a442af22ce5f5d81c98a3ed70 100644 (file)
@@ -93,6 +93,8 @@
 
                                                                <a class="navbar-item {% if request.path == "/about" %}is-active{% end %}" href="/about">{{ _("About") }}</a>
 
+                                                               <a class="navbar-item {% if request.path.startswith("/docs") %}is-active{% end %}" href="/docs">{{ _("Documentation") }}</a>
+
                                                                <a class="navbar-item {% if request.path.startswith("/download") %}is-active{% end %}" href="/download">{{ _("Download") }}</a>
 
                                                                <a class="navbar-item {% if request.path.startswith("/blog") %}is-active{% end %}" href="/blog">{{ _("Blog") }}</a>
                <script src="{{ static_url("js/site.js") }}"></script>
                {% block javascript %}{% end block %}
        </body>
-</html>
\ No newline at end of file
+</html>