From 9d941464a883be6c5519b235ca7565852598fab0 Mon Sep 17 00:00:00 2001 From: Jelterminator FennemAI-Neo Date: Sun, 25 Oct 2026 21:13:14 +0100 Subject: [PATCH] Merge the /archive/ and /commitfest_history/ pages There were two pages listing all commitfests. `/commitfest_history/` is the one linked from the "All Commitfests" navbar item and sorts commitfests by end date. `/archive/` was left over from the old homepage and wasn't linked from anywhere anymore, and listed commitfests in no particular order. This keeps the sorted page but serves it from `/archive/`, since that's the shorter URL. `/commitfest_history/` now permanently redirects there. --- .../commitfest/templates/all_commitfests.html | 10 ------- .../commitfest/templates/archive.html | 3 ++- pgcommitfest/commitfest/templates/base.html | 4 +-- pgcommitfest/commitfest/views.py | 27 +++++++------------ pgcommitfest/urls.py | 2 +- 5 files changed, 15 insertions(+), 31 deletions(-) delete mode 100644 pgcommitfest/commitfest/templates/all_commitfests.html diff --git a/pgcommitfest/commitfest/templates/all_commitfests.html b/pgcommitfest/commitfest/templates/all_commitfests.html deleted file mode 100644 index 6d983df1..00000000 --- a/pgcommitfest/commitfest/templates/all_commitfests.html +++ /dev/null @@ -1,10 +0,0 @@ -{%extends "base.html"%} -{%block contents%} - -
-{%endblock%} - diff --git a/pgcommitfest/commitfest/templates/archive.html b/pgcommitfest/commitfest/templates/archive.html index f22c6161..6d983df1 100644 --- a/pgcommitfest/commitfest/templates/archive.html +++ b/pgcommitfest/commitfest/templates/archive.html @@ -2,8 +2,9 @@ {%block contents%} +
{%endblock%} diff --git a/pgcommitfest/commitfest/templates/base.html b/pgcommitfest/commitfest/templates/base.html index bbd76210..8293b048 100644 --- a/pgcommitfest/commitfest/templates/base.html +++ b/pgcommitfest/commitfest/templates/base.html @@ -46,12 +46,12 @@ Draft CF