From: Rico Hoppe Date: Sun, 15 Oct 2023 15:04:51 +0000 (+0000) Subject: base: fixed a bug where there is a space in the navbar X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c85f44bca94bb340461a3367a5bd4028b984047;p=ipfire.org.git base: fixed a bug where there is a space in the navbar --- diff --git a/src/templates/base.html b/src/templates/base.html index b510c919..1e3d0027 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -28,15 +28,13 @@ {% if request.path.startswith("/projects/location") %} IPFire_Location + {% elif hostname.startswith("fireinfo.") %} + IPFire_Fireinfo + {% elif hostname.startswith("nopaste.") %} + IPFire_Nopaste {% else %} IPFire_ {% end %} - - {% if hostname.startswith("fireinfo.") %} - {{ _("Fireinfo") }} - {% elif hostname.startswith("nopaste.") %} - {{ _("Nopaste") }} - {% end %}