Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Render 404 properly

  • Loading branch information...
commit 3be41ee26db87e95353784814a2c3b92662b7241 1 parent e754963
@gregorycollins authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/Homepage/Handlers.hs
View
3  src/Homepage/Handlers.hs
@@ -69,7 +69,8 @@ temporaryPosts = do
fourohfour :: HomepageHandler
-fourohfour = serveTemplate "." "404"
+fourohfour = serveTemplate' "." "404" (setAttribute "whichCss"
+ ("posts" :: String))
-- N.B. "fileServeStrict" here is like normal "fileServe" from
Please sign in to comment.
Something went wrong with that request. Please try again.