* fixed 404 page
This commit is contained in:
parent
b7e34eba74
commit
515660fa7d
5 changed files with 27 additions and 3 deletions
|
|
@ -237,4 +237,9 @@ editPage (Entry{..}) = adminTemplate "Index" $
|
|||
|
||||
-- Error pages
|
||||
showError :: BlogError -> BlogLang -> Html
|
||||
showError NotFound l = undefined
|
||||
showError NotFound l = blogTemplate l (T.append ": " $ notFound l) $
|
||||
H.div ! A.class_ "innerBox" $ do
|
||||
H.div ! A.class_ "innerBoxTop" $ toHtml $ notFound l
|
||||
H.div ! A.class_ "innerBoxMiddle" $ do
|
||||
H.p ! A.class_ "notFoundFace" $ toHtml (":'(" :: Text)
|
||||
H.p ! A.class_ "notFoundText" $ toHtml $ notFoundText l
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue