- type Html = HtmlM ()
- html :: QuasiQuoter
- htmlFile :: FilePath -> Q Exp
- type Hamlet url = Render url -> Html
- hamlet :: QuasiQuoter
- hamletFile :: FilePath -> Q Exp
- type IHamlet msg url = Translate msg -> Render url -> Html
- ihamlet :: QuasiQuoter
- ihamletFile :: FilePath -> Q Exp
- hamletWithSettings :: Q HamletRules -> HamletSettings -> QuasiQuoter
- hamletFileWithSettings :: Q HamletRules -> HamletSettings -> FilePath -> Q Exp
- defaultHamletSettings :: HamletSettings
- data Env = Env {}
- data HamletRules = HamletRules {}
Plain HTML
Hamlet
type Hamlet url = Render url -> HtmlSource
A function generating an Html
given a URL-rendering function.
hamletFile :: FilePath -> Q ExpSource
I18N Hamlet
type IHamlet msg url = Translate msg -> Render url -> HtmlSource
A function generating an Html
given a message translator and a URL rendering function.
ihamletFile :: FilePath -> Q ExpSource
Internal, for making more
hamletFileWithSettings :: Q HamletRules -> HamletSettings -> FilePath -> Q ExpSource
defaultHamletSettings :: HamletSettingsSource
Defaults settings: HTML5 doctype and HTML-style empty tags.