Fiks links i Atom-feed
This commit is contained in:
parent
3684f2ec8c
commit
1d5efb5c88
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue