send all the posts

This commit is contained in:
nek0 2018-12-23 23:19:51 +01:00
parent fc015d92c3
commit f218bb8443
1 changed files with 2 additions and 2 deletions

View File

@ -129,14 +129,14 @@ main =
route idRoute
compile $ do
loadAllSnapshots "site/posts/*.md" "content"
>>= fmap (take 10) . recentFirst
>>= recentFirst
>>= renderAtom feedConf feedCtx
create ["rss.xml"] $ do
route idRoute
compile $ do
loadAllSnapshots "site/posts/*.md" "content"
>>= fmap (take 10) . recentFirst
>>= recentFirst
>>= renderRss feedConf feedCtx
create ["sitemap.xml"] $ do