TemplateFile
case class TemplateFile(file: File, isHtml: Boolean, rawCode: String, settings: Map[String, Object], name: String, title: TemplateName, hasFrame: Boolean, resources: List[String], layout: Option[String], configOffset: Int)
case class for the template files.
Template file is a file .md
or .html
handling settings.
- Value Params
- file
The Actual file defining the template.
- rawCode
The content, what is to be shown, everything but settings.
- settings
The config defined in the begging of the file, between the pair of
---
(e.g. layout: basic).