From: Michael Tremer Date: Thu, 17 Oct 2019 15:03:19 +0000 (+0100) Subject: location: Add an index page that presents the project X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3bcd7d41f87445c92858596968608b73f91f7d1;p=ipfire.org.git location: Add an index page that presents the project Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index d51e3c6b..a50e5847 100644 --- a/Makefile.am +++ b/Makefile.am @@ -181,6 +181,7 @@ templates_fireinfo_modulesdir = $(templates_fireinfodir)/modules templates_location_DATA = \ src/templates/location/base.html \ src/templates/location/blacklists.html \ + src/templates/location/index.html \ src/templates/location/lookup.html templates_locationdir = $(templatesdir)/location diff --git a/src/templates/base.html b/src/templates/base.html index dfebe328..568b8b7f 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -30,6 +30,9 @@ {{ _("Blog") }} {% elif hostname == "fireinfo.ipfire.org" %} {{ _("Fireinfo") }} + {% elif hostname == "location.ipfire.org" %} + {{ _("Location") }} + {{ _("BETA") }} {% elif hostname == "mirrors.ipfire.org" %} {{ _("Mirrors") }} {% elif hostname == "people.ipfire.org" %} @@ -142,6 +145,25 @@ + {% elif hostname == "location.ipfire.org" %} + + + {% elif hostname == "nopaste.ipfire.org" %}