The type of the template's params.
Creates a new template.
The type of the template's params.
The content of the template, or a function that returns the content.
Renders the template with the given params (if content is a function).
The params to pass to the template.
The rendered template as a RawContent instance.
Renders the template with the given params (if content is a function).
The params to pass to the template.
The rendered template.
A template that can be used to render HTML content.