From 41599161faf4ff8627f75a4acaa57d6f0b7f0928 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 21 Nov 2015 19:07:30 +0100 Subject: [PATCH] [blog] Update error page for new design --- src/Blog.hs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/Blog.hs b/src/Blog.hs index 6cc00510c..ee87cf8d5 100644 --- a/src/Blog.hs +++ b/src/Blog.hs @@ -222,16 +222,12 @@ editPage (Entry{..}) = adminTemplate "Index" $ [shamlet| showError :: BlogError -> BlogLang -> Html showError NotFound l = blogTemplate l (T.append ": " $ notFoundTitle l) $ [shamlet| -
-
:( -
-
- #{notFoundText l} +

:( +

#{notFoundText l} +


|] showError UnknownError l = blogTemplate l "" $ [shamlet| -
-
:( -
-
- #{unknownErrorText l} +

:( +

#{unknownErrorText l} +


|]