send all the posts
This commit is contained in:
parent
fc015d92c3
commit
f218bb8443
1 changed files with 2 additions and 2 deletions
|
@ -129,14 +129,14 @@ main =
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
loadAllSnapshots "site/posts/*.md" "content"
|
loadAllSnapshots "site/posts/*.md" "content"
|
||||||
>>= fmap (take 10) . recentFirst
|
>>= recentFirst
|
||||||
>>= renderAtom feedConf feedCtx
|
>>= renderAtom feedConf feedCtx
|
||||||
|
|
||||||
create ["rss.xml"] $ do
|
create ["rss.xml"] $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
loadAllSnapshots "site/posts/*.md" "content"
|
loadAllSnapshots "site/posts/*.md" "content"
|
||||||
>>= fmap (take 10) . recentFirst
|
>>= recentFirst
|
||||||
>>= renderRss feedConf feedCtx
|
>>= renderRss feedConf feedCtx
|
||||||
|
|
||||||
create ["sitemap.xml"] $ do
|
create ["sitemap.xml"] $ do
|
||||||
|
|
Loading…
Reference in a new issue