From 5b72735edc346ec21595a973990d221189d78ecb Mon Sep 17 00:00:00 2001 From: ktyl Date: Mon, 13 Mar 2023 23:34:21 +0000 Subject: [PATCH] post url prefix --- build/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/build/index.py b/build/index.py index 6a86af3..8003ad8 100644 --- a/build/index.py +++ b/build/index.py @@ -46,6 +46,7 @@ for path in posts: # clean leading directories to get the relative path we'll use for the link url = re.sub(dir_pattern, r"\2", path) + url = f"blog/{url}" item = (date, f'
  • {date}{title}
  • ') links.append(item)