From f1217d779ebb050677f648040e0e3def9e30fa75 Mon Sep 17 00:00:00 2001 From: Matthias Portzel Date: Thu, 1 Sep 2022 18:21:05 -0400 Subject: [PATCH] Reformat pages names to put year first --- thoughts/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thoughts/pagination.py b/thoughts/pagination.py index b8dcaa3..f74138d 100644 --- a/thoughts/pagination.py +++ b/thoughts/pagination.py @@ -37,7 +37,7 @@ def season_year_for_date(date): def formatted_name_for_season_year(current_season, current_year): - return ["Winter", "Spring", "Summer", "Fall"][current_season] + " " + str(current_year) + return str(current_year) + " - " + ["Winter", "Spring", "Summer", "Fall"][current_season] def get_page_slug(thought):