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.Templates
|
||||
|
||||
data AppSettings = AppSettings { }
|
||||
data AppSettings = AppSettings { }
|
||||
|
||||
newAppSettings :: IO AppSettings
|
||||
newAppSettings = do
|
||||
|
||||
return $ AppSettings
|
||||
newAppSettings = return AppSettings
|
||||
|
||||
instance HasTemplates IO AppSettings where
|
||||
defaultLayout = Just <$> getTemplate "layouts/main.html"
|
Loading…
Reference in New Issue
Block a user