Templates

interface Templates

Supported template implementations for templating engine implementations

Functions

Link copied to clipboard
abstract fun Caching(baseTemplateDir: String = "./"): TemplateRenderer

Load and caches templates from a file path

Link copied to clipboard
abstract fun CachingClasspath(baseClasspathPackage: String = ""): TemplateRenderer

Loads and caches templates from the compiled classpath

Link copied to clipboard
abstract fun HotReload(baseTemplateDir: String = "./"): TemplateRenderer

Hot-reloads (no-caching) templates from a file path