heist-0.11.0: An Haskell template system supporting both HTML5 and XML.

Safe HaskellNone

Heist.Splices.Apply

Synopsis

Documentation

applyTag :: TextSource

Default name for the apply splice.

applyAttr :: TextSource

Default attribute name for the apply tag.

rawApply :: Monad n => Text -> [Node] -> Maybe FilePath -> TPath -> [Node] -> Splice nSource

applyNodes :: MonadIO n => Template -> Text -> Splice nSource

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

applyImpl :: MonadIO n => Splice nSource

Implementation of the apply splice.