From 358314e4cd30487c136d37fd01b18b4fefcd4fe8 Mon Sep 17 00:00:00 2001 From: ktyl Date: Sun, 6 Aug 2023 23:51:28 +0200 Subject: [PATCH] fix: include entire date when building rss --- build/rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rss.py b/build/rss.py index 4922fe5..1405fa1 100644 --- a/build/rss.py +++ b/build/rss.py @@ -49,7 +49,7 @@ def make_item(path): str += f"{title}\n" # link - url = "/".join(pathlib.Path(path).parts[2:]) + url = "/".join(pathlib.Path(path).parts[1:]) url = url.replace(".md", ".html") link = f"https://ktyl.dev/blog/{url}" str += f"{link}\n"