Safe Haskell | None |
---|---|
Language | Haskell98 |
- templateStoreFromList :: [(String, String)] -> Either ParseError TemplateStore
- templateStoreFromDirectory :: FilePath -> String -> IO (Either ParseError TemplateStore)
- putStore :: TemplateStore -> RenderConfig -> RenderConfig
- showToBuilder :: Show a => a -> Builder
Documentation
templateStoreFromList :: [(String, String)] -> Either ParseError TemplateStore Source
templateStoreFromDirectory :: FilePath -> String -> IO (Either ParseError TemplateStore) Source
Given a file path and extension, load all templates in a directory, recursively.
putStore :: TemplateStore -> RenderConfig -> RenderConfig Source
showToBuilder :: Show a => a -> Builder Source