extends

Description

The extends tag must ALWAYS be the first statement.

Set the layout of the current page. A page can be a layout for another page. The tag needs a single parameter which can take two values:

  • parent the layout for the parent url
  • some/page/path a specific pages layout
You do not need to close this tag.

Syntax

{% extends <fullpath_or_parent> %}

Examples

{% extends parent %}
{% extends 'support/index' %}
© 2024 LocomotiveCMS Terms of use Privacy Policy
Back to top