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
|
create ["atom.xml"] $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
loadAllSnapshots "posts/*" "content"
|
loadAllSnapshots "site/posts/*.md" "content"
|
||||||
>>= fmap (take 10) . recentFirst
|
>>= fmap (take 10) . recentFirst
|
||||||
>>= renderAtom feedConf feedCtx
|
>>= renderAtom feedConf feedCtx
|
||||||
|
|
||||||
create ["rss.xml"] $ do
|
create ["rss.xml"] $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
loadAllSnapshots "posts/*" "content"
|
loadAllSnapshots "site/posts/*.md" "content"
|
||||||
>>= fmap (take 10) . recentFirst
|
>>= fmap (take 10) . recentFirst
|
||||||
>>= renderRss feedConf feedCtx
|
>>= renderRss feedConf feedCtx
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue