Path relative to the root with / separators.
The path the file was read from.
The file contents.
Lowercase hex SHA-256 of the contents.
The parsed chunks (see extract).
Escaping mode.
The parsed chunks.
Lowercase hex SHA-256 of the contents.
Path relative to the root, e.g. pages/home.html.
The path the file was read from (root joined with name).
The file contents.
The compiled render function (see compile).
Render the template with params.
Optionalparams: Params
Values for the placeholders.
The bound HTML.
Same as Template.bind.
Optionalparams: Params
Values for the placeholders.
The bound HTML.
One parsed template: its source, digest, chunks and compiled render function. Get one with Engine.get or one.
Example