render +snap

render :: HasHeist b => ByteString -> Handler b v ()
snap Snap.Snaplet.Heist
Renders a template as text/html. If the given template is not found, this returns empty.
renderAs :: HasHeist b => ByteString -> ByteString -> Handler b v ()
snap Snap.Snaplet.Heist
Renders a template as the given content type. If the given template is not found, this returns empty.
renderWithSplices :: HasHeist b => ByteString -> [(Text, SnapletSplice b v)] -> Handler b v ()
snap Snap.Snaplet.Heist
Renders a template with a given set of splices. This is syntax sugar for a common combination of heistLocal, bindSplices, and render.