web-rep-0.4.0: representations of a web page

Safe HaskellNone
LanguageHaskell2010

Web.Page.Render

Description

Page rendering

Synopsis

Documentation

renderPage :: Page -> Html () Source #

Render a Page with the default configuration into Html.

renderPageWith :: PageConfig -> Page -> (Text, Text, Html ()) Source #

Render a Page into css text, js text and html.

renderPageHtmlWith :: PageConfig -> Page -> Html () Source #

Render a Page into Html.

renderPageAsText :: PageConfig -> Page -> Concerns Text Source #

Render a Page as Text.

renderPageToFile :: FilePath -> PageConfig -> Page -> IO () Source #

Render Page concerns to files.

renderPageHtmlToFile :: FilePath -> PageConfig -> Page -> IO () Source #

Render a page to just a Html file.