heist-extra-0.2.0.0: Extra heist functionality
Safe HaskellSafe-Inferred
LanguageHaskell2010

Heist.Extra.TemplateState

Synopsis

Documentation

data TemplateState Source #

Holds a set of Heist template files that are importing one another.

Instances

Instances details
Default TemplateState Source # 
Instance details

Defined in Heist.Extra.TemplateState

Methods

def :: TemplateState #

addTemplateFile Source #

Arguments

:: HasCallStack 
=> FilePath

Absolute path

-> FilePath

Relative path (to template base)

-> ByteString

Contents of the .tmpl file

-> TemplateState 
-> TemplateState