Processes and outputs a partial template, javascript, or stylesheet.
If the partial template is a compiled template, then any custom fields from the partial template will be available in the parent template as well.
The path is significant when including objects. Every template, javascript, and stylesheet has a path, even if that is the root path (/). The location of the path to be included will always be based off of the path of the current object. So including 'header' from a template at the path '/pages' will attempt to process '/pages/header' while the same include from a template at the root path - which would attempt to process '/header'.
You always have the option of using an "absolute path" when including templates by beginning your included template name with '/'. Eg: {% include '/header' %} or {% include '/partials/header' %}. Absolute paths ignore the path of the current template when determining what partial to include.
You can also navigate up the directory structure using '../'. So including '../partials/header' from a template at the path '/agency/pages' will attempt to process '/agency/partials/header'.
Add a stylesheet asset to the head of the current page via a <link> tag
Outputs an inline stylesheet in a <style> tag.
Add Stylesheet
CopyAdd inline stylesheet
CopyInclude template and pass variables
Copy