gitit-0.10.6.2: Wiki using happstack, git or darcs, and pandoc.

Safe HaskellNone
LanguageHaskell98

Network.Gitit.Layout

Synopsis

Documentation

defaultRenderPage :: StringTemplate String -> PageLayout -> Html -> Handler Source

Given a compiled string template, returns a page renderer.

formattedPage :: PageLayout -> Html -> Handler Source

Returns formatted page

filledPageTemplate :: String -> Config -> PageLayout -> Html -> StringTemplate String -> StringTemplate String Source

Returns a page template with gitit variables filled in.