Fiks links i Atom-feed

This commit is contained in:
2024-12-19 08:04:41 +01:00
parent 3684f2ec8c
commit 1d5efb5c88

View File

@@ -85,7 +85,7 @@ makeEntry ((title, updated), slug) =
>: ("<updated>" : updatedDate ++ ["</updated>"])
>: ("<published>" : updatedDate ++ ["</published>"]))
>: "</entry>"
where slugUrl = [urlRoot, "/", T.pack slug, ".html"]
where slugUrl = [urlRoot, "/", T.pack slug, "/"]
updatedDate = [formatDateShort updated, "T00:00:00Z"]
generateAtom :: (TokenableTo Date a, TokenableTo [AtomEntry] b) => a -> b -> DepGenM (Token Text)