Copyright | (c) Eduardo Trujillo, 2016 |
---|---|
License | Apache |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Utility Wai applications.
Documentation
staticSite :: Maybe FilePath -> Application Source #
An application for static websites.
It serves files from the provided path. It defaults to _site
which is the
default location for Hakyll websites.
redirectHome :: Application Source #
Handler for redirecting requests to the root of the site.
Useful for 404 handlers.