happstack-hsp-7.3.7.4: Support for using HSP templates in Happstack

Safe HaskellNone
LanguageHaskell98

Happstack.Server.HSP.HTML

Contents

Description

support for using HSP+Happstack for rendering HTML

Synopsis

Documentation

defaultTemplate Source #

Arguments

:: (XMLGenerator m, EmbedAsChild m headers, EmbedAsChild m body, StringType m ~ Text) 
=> Text

text to use in <title> tag

-> headers

extra headers to insert in <head> tag. Use () if none.

-> body

content to put between the <body> tags.

-> m (XMLType m) 

A generic webpage template

Orphan instances