fix: include entire date when building rss

This commit is contained in:
ktyl 2023-08-06 23:51:28 +02:00
parent 4976587e59
commit 358314e4cd
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def make_item(path):
str += f"<title>{title}</title>\n" str += f"<title>{title}</title>\n"
# link # link
url = "/".join(pathlib.Path(path).parts[2:]) url = "/".join(pathlib.Path(path).parts[1:])
url = url.replace(".md", ".html") url = url.replace(".md", ".html")
link = f"https://ktyl.dev/blog/{url}" link = f"https://ktyl.dev/blog/{url}"
str += f"<link>{link}</link>\n" str += f"<link>{link}</link>\n"