Main: Simplify this a bit more
This commit is contained in:
parent
6bb5d0db06
commit
0fa42c588c
|
@ -52,9 +52,11 @@ main = do
|
|||
[] -> do
|
||||
S.setStatus Status.status404
|
||||
|
||||
let page = ErrorView.render ("no data for page number " ++ (show id_))
|
||||
let message = ("no data for page number " ++ (show id_))
|
||||
page = ErrorView.render message
|
||||
title = ("Can't find page " ++ (show id_))
|
||||
|
||||
S.html $ wrapMarkupStringTitle ("Can't find page " ++ (show id_)) page
|
||||
S.html $ wrapMarkupStringTitle title page
|
||||
|
||||
_ -> do
|
||||
let title = "Thread page " ++ (show id_)
|
||||
|
|
Loading…
Reference in New Issue