Clean the template
This commit is contained in:
parent
65c5884c7f
commit
90afb6593b
@ -5,12 +5,10 @@ import Control.Applicative
|
|||||||
import Web.Simple
|
import Web.Simple
|
||||||
import Web.Simple.Templates
|
import Web.Simple.Templates
|
||||||
|
|
||||||
data AppSettings = AppSettings { }
|
data AppSettings = AppSettings { }
|
||||||
|
|
||||||
newAppSettings :: IO AppSettings
|
newAppSettings :: IO AppSettings
|
||||||
newAppSettings = do
|
newAppSettings = return AppSettings
|
||||||
|
|
||||||
return $ AppSettings
|
|
||||||
|
|
||||||
instance HasTemplates IO AppSettings where
|
instance HasTemplates IO AppSettings where
|
||||||
defaultLayout = Just <$> getTemplate "layouts/main.html"
|
defaultLayout = Just <$> getTemplate "layouts/main.html"
|
Loading…
Reference in New Issue
Block a user