From: Michael Tremer Date: Tue, 10 Oct 2023 17:29:43 +0000 (+0000) Subject: base: Dynamically change nagivation on location stuff X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c39be74134ac7e754e87bbd3272c68dcfa7f21e;p=ipfire.org.git base: Dynamically change nagivation on location stuff Signed-off-by: Michael Tremer --- diff --git a/src/templates/base.html b/src/templates/base.html index 2580a096..b510c919 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -26,14 +26,16 @@ {% end %} - {{ _("About") }} + {# Location #} + {% if request.path.startswith("/projects/location") %} + + {{ _("How To Use") }} + + + + {{ _("Download") }} + - {{ _("Documentation") }} + {# Main #} + {% else %} + {{ _("About") }} - {{ _("Download") }} + {{ _("Documentation") }} - {{ _("Blog") }} + {{ _("Download") }} - {{ _("Help") }} + {{ _("Blog") }} + + {{ _("Help") }} + {% end %}