aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hakyll/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hakyll/Main.hs b/hakyll/Main.hs
index 90e6b0b..d84cf40 100644
--- a/hakyll/Main.hs
+++ b/hakyll/Main.hs
@@ -80,7 +80,7 @@ main = hakyll $ do
route idRoute
compile $ do
loadAllSnapshots "posts/*" "content"
- >>= fmap (take 10) . recentFirst
+ >>= recentFirst
>>= renderAtom feedConfiguration feedCtx
create ["rss.xml"] $ do
@@ -89,7 +89,7 @@ main = hakyll $ do
let feedCtx = postCtx `mappend`
constField "description" "This is the post description"
- posts <- fmap (take 10) . recentFirst =<< loadAll "posts/*"
+ posts <- recentFirst =<< loadAll "posts/*"
renderRss feedConfiguration feedCtx posts
match "templates/*" $ compile templateBodyCompiler