heist-0.2.2: An xhtml templating systemSource codeContentsIndex
data StaticTagState
bindStaticTag :: MonadIO m => TemplateState m -> IO (TemplateState m, StaticTagState)
clearStaticTagCache :: StaticTagState -> IO ()
data StaticTagState Source
State for storing static tag information
bindStaticTag :: MonadIO m => TemplateState m -> IO (TemplateState m, StaticTagState)Source
Modifies a TemplateState to include a "static" tag. The static tag is not bound automatically with the other default Heist tags. This is because this function also returns StaticTagState, so the user will be able to clear it with the clearStaticTagCache function.
clearStaticTagCache :: StaticTagState -> IO ()Source
Clears the static tag state.
Produced by Haddock version 2.6.1