heist-0.6.0.1: An xhtml templating system

Text.Templating.Heist.Splices.Html

Synopsis

Documentation

htmlTag :: TextSource

Name for the html splice.

htmlImpl :: Monad m => Splice mSource

The html splice runs all children and then traverses the returned node forest removing all head nodes. Then it merges them all and prepends it to the html tag's child list.

extractHeadsSource

Arguments

:: Node

The root (html) node

-> ([Node], Maybe Node)

A tuple of a list of head nodes and the original tree with heads removed.

Extracts all heads from a node tree.