summaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
blob: 2d2c6c3436cb99023d50b34d66a304609644b25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{- Yesod stuff, that's typically found in the scaffolded site.
 -
 - Copyright 2012 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

module Utility.Yesod where

import Yesod.Default.Util
import Language.Haskell.TH.Syntax

widgetFile :: String -> Q Exp
widgetFile = widgetFileNoReload

hamletTemplate :: FilePath -> FilePath
hamletTemplate f = globFile "hamlet" f