HtmlOnlyPostRenderer

constructor(context: Context, baseTemplateProcessor: () -> TemplateProcessor = baseHtmlTemplateProcessor, name: String = "index", relativePathToRoot: String)

Parameters

context

the rendering context

baseTemplateProcessor

supplier of the base TemplateProcessor to inject with content and process via HtmlPostRendererTemplate.

name

the name of the HTML output resource, without extension

relativePathToRoot

the relative path to follow to get from the HTML resources generated by this post-renderer to the root (the location where the main HTML file is located, alongside script, theme, etc.)