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

Network.Gitit.Layout

Synopsis

Documentation

defaultRenderPage :: StringTemplate String -> PageLayout -> Html -> HandlerSource

Given a compiled string template, returns a page renderer.

formattedPage :: PageLayout -> Html -> HandlerSource

Returns formatted page

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

Returns a page template with gitit variables filled in.