TemplateDocument
case class TemplateDocument(path: Path, content: TemplateRoot, config: ConfigParser) extends Navigatable
A template document containing the element tree of a parsed template and its extracted configuration section (if present).
Value members
Concrete methods
def applyTo(document: Document, rules: RewriteRules, outputContext: OutputContext): Either[ConfigError, Document]
Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.
Applies this template to the specified document, replacing all span and block resolvers in the template with the final resolved element.