From 13646f649a925550172dc4236e6e4e0dfad60ce5 Mon Sep 17 00:00:00 2001 From: ktyl Date: Fri, 27 May 2022 01:13:12 +0100 Subject: [PATCH] reverse blog index order --- scripts/mkblogindex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mkblogindex.py b/scripts/mkblogindex.py index 2f79b58..7db00bd 100644 --- a/scripts/mkblogindex.py +++ b/scripts/mkblogindex.py @@ -24,6 +24,7 @@ title_pattern = re.compile("

(.+)

") # filter posts to just those with a date in them posts = [p for p in posts if path_pattern.match(p)] +posts.reverse() # for each file we want to output an tag with a relative href to the site root for path in posts: