From d1ec64e19c544d50dc808f76d46120b4297e12c3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 10 Oct 2023 10:36:11 +0000 Subject: [PATCH] sitemap: Add a new page that links to all sorts of things Signed-off-by: Michael Tremer --- Makefile.am | 3 +- src/templates/base.html | 8 +- src/templates/static/sitemap.html | 211 ++++++++++++++++++++++++++++++ src/web/__init__.py | 1 + 4 files changed, 218 insertions(+), 5 deletions(-) create mode 100644 src/templates/static/sitemap.html diff --git a/Makefile.am b/Makefile.am index dedb5099..360d5242 100644 --- a/Makefile.am +++ b/Makefile.am @@ -299,7 +299,8 @@ templates_people_messagesdir = $(templates_peopledir)/messages templates_static_DATA = \ src/templates/static/about.html \ src/templates/static/legal.html \ - src/templates/static/help.html + src/templates/static/help.html \ + src/templates/static/sitemap.html templates_staticdir = $(templatesdir)/static diff --git a/src/templates/base.html b/src/templates/base.html index 5ff1e81d..2580a096 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -263,13 +263,13 @@
  • - - {{ _("Blog") }} + + {{ _("Community") }}
  • - - {{ _("Community") }} + + {{ _("Sitemap") }}
  • diff --git a/src/templates/static/sitemap.html b/src/templates/static/sitemap.html new file mode 100644 index 00000000..053513c2 --- /dev/null +++ b/src/templates/static/sitemap.html @@ -0,0 +1,211 @@ +{% extends "../base.html" %} + +{% block title %}{{ _("Sitemap") }}{% end block %} + +{% block container %} +
    +
    +
    +

    {{ _("Projects") }}

    + +
    +
    +
    +

    Geo Location Database

    +

    + + {{ _("IPFire Location") }} + +

    +
    +
    + +
    +
    +

    Hardware Information

    +

    + + {{ _("Fireinfo") }} + +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +

    {{ _("Support") }}

    + +
    +
    +
    +

    Read The Fascinating Manual

    +

    + + {{ _("Documentation") }} + +

    +
    +
    + +
    +
    +

    + By Our Team Of Experts +

    +

    + + {{ _("Professional Support") }} + +

    +
    +
    + +
    +
    +

    By Our Community

    +

    + + {{ _("IPFire Community") }} + +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +

    {{ _("Development") }}

    + +
    +
    +
    +

    pakfire.ipfire.org

    +

    + + {{ _("Pakfire Build Service") }} + +

    +
    +
    + +
    +
    +

    git.ipfire.org

    +

    + + {{ _("Source") }} + +

    +
    +
    + +
    +
    +

    lists.ipfire.org

    +

    + + {{ _("Mailing Lists") }} + +

    +
    +
    + +
    +
    +

    bugzilla.ipfire.org

    +

    + + {{ _("Bugtracker") }} + +

    +
    +
    + +
    +
    +

    patchwork.ipfire.org

    +

    + + {{ _("Patches") }} + +

    +
    +
    + +
    +
    +

    translate.ipfire.org

    +

    + + {{ _("Translate") }} + +

    +
    +
    + +
    +
    +

    man-pages.ipfire.org

    +

    + + {{ _("Man Pages") }} + +

    +
    +
    + +
    +
    +

    nightly.ipfire.org

    +

    + + {{ _("Nightly Builds") }} + +

    +
    +
    +
    +
    +
    +
    + +
    +
    +

    {{ _("Infrastructure") }}

    + +
    +
    +
    +

    mail.ipfire.org

    +

    + + {{ _("Web Mail") }} + +

    +
    +
    + +
    +
    +

    social.ipfire.org

    +

    + + {{ _("Mastodon") }} + +

    +
    +
    +
    +
    +
    +{% end block %} + diff --git a/src/web/__init__.py b/src/web/__init__.py index 86aada85..adcebde9 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -192,6 +192,7 @@ class Application(tornado.web.Application): (r"/about", StaticHandler, { "template" : "about.html" }), (r"/legal", StaticHandler, { "template" : "legal.html" }), (r"/help", StaticHandler, { "template" : "help.html" }), + (r"/sitemap", StaticHandler, { "template" : "sitemap.html" }), # API (r"/api/check/email", auth.APICheckEmail), -- 2.47.3