heist-0.8.0: An (x)html templating system

Safe HaskellNone

Text.Templating.Heist.Splices.Apply

Synopsis

Documentation

applyTag :: TextSource

Default name for the apply splice.

applyAttr :: TextSource

Default attribute name for the apply tag.

rawApply :: Monad m => [Node] -> TPath -> [Node] -> HeistT m TemplateSource

Raw core of apply functionality. This is abstracted for use in other places like an enhanced (from the original) bind

applyNodes :: Monad m => Template -> Text -> Splice mSource

Applies a template as if the supplied nodes were the children of the apply tag.

applyImpl :: Monad m => Splice mSource

Implementation of the apply splice.