Permalink
Browse files

Render 404 properly

  • Loading branch information...
gregorycollins committed Mar 28, 2009
1 parent e754963 commit 3be41ee26db87e95353784814a2c3b92662b7241
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Homepage/Handlers.hs
View
@@ -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

0 comments on commit 3be41ee

Please sign in to comment.