Template
Display anything you want using a standard Antlers template.
Overview
You can use the Template Widget as a completely customizable block of HTML rendered by Antlers.
Any additional parameters you specify in the widget config will be available as variables in your template.
Example
widgets:
-
type: template
template: bacon
cooking_method: fried
I like my bacon {{ cooking_method }}!
I like my bacon fried!
Parameters
template
string |
The template to render. It should be relative to your theme's template directory.
eg. |
---|