diff options
author | Vincent Ambo <v.ambo@me.com> | 2012-04-25T21·45+0200 |
---|---|---|
committer | Vincent Ambo <v.ambo@me.com> | 2012-04-25T21·45+0200 |
commit | 520df7957c9af74a874a39f02a9dd8bd3255eeaf (patch) | |
tree | aab87b97e944721e8aa6facfe2c13434da9bff26 /src/Main.hs | |
parent | 8a750bd133d3f7d57ce87ac66e691f4d1ea6714f (diff) |
* completed switch to Hamlet and Lucius
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs index 4d1ec4af5788..3efcf5be3454 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -88,6 +88,10 @@ tazBlog acid captchakey = do ok $ toResponse $ adminIndex ("tazjin" :: Text) , dir "admin" $ ok $ toResponse $ adminLogin , dir "dologin" $ processLogin acid + , do dirs "static/blogv34.css" $ nullDir + setHeaderM "content-type" "text/css" + neverExpires + ok $ toResponse $ blogStyle , do setHeaderM "cache-control" "max-age=630720000" setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT" dir "static" $ serveDirectory DisableBrowsing [] "../res" |