@include

Includes an external template into the current one. Any parameters passed to the @include tag will be available to the included template.

Parameters

  • path - (required) the relative path to the template (example: "../template.html")

Result

The child template is retrieved, loaded, compiled and inserted into the current template.