fix: include entire date when building rss
This commit is contained in:
parent
4976587e59
commit
358314e4cd
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue