* added TODO file
This commit is contained in:
parent
7114876693
commit
485e271475
3 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue