diff options
author | Vincent Ambo <tazjin@gmail.com> | 2015-11-21T18·07+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2015-11-21T18·07+0100 |
commit | 41599161faf4ff8627f75a4acaa57d6f0b7f0928 (patch) | |
tree | ed697c358a47911677881e8d3980a7f582934ba5 | |
parent | d7d428d597ebede6d7d423abcecb930cdca8a88c (diff) |
[blog] Update error page for new design
-rw-r--r-- | src/Blog.hs | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Blog.hs b/src/Blog.hs index 6cc00510c0dc..ee87cf8d5fa8 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| -<div .row .text-center> - <div .span12 .notFoundFace>:( -<div .row .text-center> - <div .span12 .notFoundText> - #{notFoundText l} +<p>:( +<p>#{notFoundText l} +<hr> |] showError UnknownError l = blogTemplate l "" $ [shamlet| -<div .row .text-center> - <div .span12 .notFoundFace>:( -<div .row .text-center> - <div .span12 .notFoundText> - #{unknownErrorText l} +<p>:( +<p>#{unknownErrorText l} +<hr> |] |