Permalink
Browse files

Only show latest 5 articles on home page.

  • Loading branch information...
beastaugh committed Apr 1, 2012
1 parent 5fcdcad commit bfac7a72d7c746578055780273514ea1ecace102
Showing with 1 addition and 1 deletion.
  1. +1 −1 site.hs
View
@@ -80,7 +80,7 @@ main = hakyll $ do
>>> arr (setField "pageTitle" "Extralogical")
>>> arr (setField "pageClass" "home")
>>> requireA "blurb.md" (setFieldA "blurb" $ arr pageBody)
- >>> setFieldPageList (newest 10) "templates/item.html" "articles" (articleDirs `mappend` inGroup Nothing)
+ >>> setFieldPageList (newest 5) "templates/item.html" "articles" (articleDirs `mappend` inGroup Nothing)
>>> applyTemplateCompiler "templates/home.html"
>>> applyTemplateCompiler "templates/default.html"
>>> relativizeUrlsCompiler

0 comments on commit bfac7a7

Please sign in to comment.