fix syndication
This commit is contained in:
parent
4f929b2a97
commit
246d9f703b
1 changed files with 2 additions and 2 deletions
|
@ -127,14 +127,14 @@ main =
|
|||
create ["atom.xml"] $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
loadAllSnapshots "posts/*" "content"
|
||||
loadAllSnapshots "site/posts/*.md" "content"
|
||||
>>= fmap (take 10) . recentFirst
|
||||
>>= renderAtom feedConf feedCtx
|
||||
|
||||
create ["rss.xml"] $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
loadAllSnapshots "posts/*" "content"
|
||||
loadAllSnapshots "site/posts/*.md" "content"
|
||||
>>= fmap (take 10) . recentFirst
|
||||
>>= renderRss feedConf feedCtx
|
||||
|
||||
|
|
Loading…
Reference in a new issue