gitit-0.15.1.1: Wiki using happstack, git or darcs, and pandoc.
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.