@layout

Includes an external "layout" template into the current one.
This is similar to the @include tag but assumes a base path of /layouts as the template location.

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.