diff options
Diffstat (limited to 'src/Blog.hs')
-rw-r--r-- | src/Blog.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blog.hs b/src/Blog.hs index 61c8bc3f029d..0709dd3a3b2a 100644 --- a/src/Blog.hs +++ b/src/Blog.hs @@ -72,12 +72,12 @@ blogTemplate lang t_append body = H.docTypeHtml $ do --add body H.a ! A.href (toValue imu) ! A.target "_blank" $ "iMessage" "." -renderEntries :: [Entry] -> Int -> String-> Html -renderEntries entries num topText = H.div ! A.class_ "innerBox" $ do +renderEntries :: [Entry] -> String-> Html +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_ $ take num $ reverse $ map showEntry entries + sequence_ $ reverse $ map showEntry entries where showEntry :: Entry -> Html showEntry e = H.li $ do |