StrappedTemplates-0.2.0.2: General purpose templates in haskell

Safe HaskellNone
LanguageHaskell98

Text.Strapped.Utils

Synopsis

Documentation

templateStoreFromDirectory :: StrappedConfig -> FilePath -> String -> IO (Either ParseError TemplateStore) Source

Given a file path and extension, load all templates in a directory, recursively.

lit :: ToLiteral a => a -> Input m Source

dyn :: (Renderable a, Typeable a) => a -> Input m Source