Safe Haskell | None |
---|
- staticSite :: IO Static
- img_glyphicons_halflings_white_png :: StaticRoute
- img_glyphicons_halflings_png :: StaticRoute
- css_bootstrap_css :: StaticRoute
- jquery_min_js :: StaticRoute
- jquery_flot_min_js :: StaticRoute
- excanvas_js :: StaticRoute
- select2_css :: StaticRoute
- select2_png :: StaticRoute
- jquery_js :: StaticRoute
- jquery_url_js :: StaticRoute
- select2_spinner_gif :: StaticRoute
- jquery_flot_js :: StaticRoute
- style_css :: StaticRoute
- favicon_ico :: StaticRoute
- hledger_js :: StaticRoute
- excanvas_min_js :: StaticRoute
- select2_js :: StaticRoute
- select2_min_js :: StaticRoute
Documentation
staticSite :: IO StaticSource
use this to create your static file serving site staticSite :: IO Static.Static staticSite = if development then Static.staticDevel staticDir else Static.static staticDir
| This generates easy references to files in the static directory at compile time, giving you compile-time verification that referenced files exist. Warning: any files added to your static directory during run-time can't be accessed this way. You'll have to use their FilePath or URL to access them. $(staticFiles Settings.staticDir)