about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVincent Ambo <viam@humac.com>2012-03-03T03·05+0100
committerVincent Ambo <viam@humac.com>2012-03-03T03·05+0100
commit485e27147574106d5925ea9ab880739d8e1c4f6e (patch)
tree32dde7e271541a368cb5b809831c855276131843 /src
parent7114876693cf5b2ce9ac4b7d7c5121aba4be94e2 (diff)
* added TODO file
Diffstat (limited to 'src')
-rw-r--r--src/Blog.hs2
-rw-r--r--src/Main.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Blog.hs b/src/Blog.hs
index 0709dd3a3b2a..7b39fe5c9928 100644
--- a/src/Blog.hs
+++ b/src/Blog.hs
@@ -77,7 +77,7 @@ renderEntries entries topText = H.div ! A.class_ "innerBox" $ do
     H.div ! A.class_ "innerBoxTop" $ toHtml topText
     H.div ! A.class_ "innerBoxMiddle" $ do
         H.ul $ 
-            sequence_ $ reverse $ map showEntry entries
+            sequence_ . reverse $ map showEntry entries
     where
         showEntry :: Entry -> Html
         showEntry e = H.li $ do 
diff --git a/src/Main.hs b/src/Main.hs
index 60da9946461d..debf02e3cc18 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -64,7 +64,7 @@ tryEntry (Just entry) = toResponse $ blogTemplate eLang eTitle $ renderEntry ent
 
 showIndex :: BlogLang -> ServerPart Response
 showIndex lang = do
-    entries <- getLatest lang [("limit", toJSON (6 :: Int)), ("descending", toJSON True)]
+    entries <- getLatest lang [("limit", toJSON (7 :: Int)), ("descending", toJSON True)]
     ok $ toResponse $ blogTemplate lang "" $ renderEntries entries (topText lang)
 
 showMonth :: Int -> Int -> BlogLang -> ServerPart Response