From 576aa83b349b4bac095b2c3cae5136108cbfd90f Mon Sep 17 00:00:00 2001 From: jesper <118400668+k1nsej@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:14:34 +0200 Subject: [PATCH] Adjust sorting by slug --- compile.py | 7 +++++-- dist/more/updates.html | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/compile.py b/compile.py index 2099fb2..587b734 100644 --- a/compile.py +++ b/compile.py @@ -230,7 +230,7 @@ def generate_card(title, date, path, author, snippet, image): def generate_more_pages(pages, types): """ - Generates the 'More' pages for each type. + Generates the 'More' pages for each type, sorted by slug (title). """ def generate_list_item(title, date, path, author, snippet): return f""" @@ -243,9 +243,12 @@ def generate_list_item(title, date, path, author, snippet): for path_key, section_title in types.items(): more_page_content = f"
The Sims Team just published a new update! These are the key fixes: Dishes won't hide anymore; they'll be cleaned...
-This is a rather small update which primarily removes the bugs where you could get the items from the login...
+These are the key fixes in the Update from April 16, 2024. Base Game: Alive plants will no longer emit...
These are the key fixes in the Update from April 16, 2024. Base Game: Alive plants will no longer emit...
+This is a rather small update which primarily removes the bugs where you could get the items from the login...
+The Sims Team just published a new update! These are the key fixes: Dishes won't hide anymore; they'll be cleaned...