http4k / org.http4k.template / HandlebarsTemplates
class HandlebarsTemplates :
Templates
Handlebars templating support. Use the function in the constructor to configure the instance.
Name | Summary |
---|---|
<init> | Handlebars templating support. Use the function in the constructor to configure the instance.HandlebarsTemplates(configure: (Handlebars) -> Handlebars = { it }) |
Name | Summary |
---|---|
Caching | Load and caches templates from a file pathfun Caching(baseTemplateDir: String ): TemplateRenderer |
CachingClasspath | Loads and caches templates from the compiled classpathfun CachingClasspath(baseClasspathPackage: String ): TemplateRenderer |
HotReload | Hot-reloads (no-caching) templates from a file pathfun HotReload(baseTemplateDir: String ): TemplateRenderer fun HotReload(firstBaseDir: String , secondBaseDir: String , vararg rest: String ): TemplateRenderer |