region Tag
Defines where to place editable regions within a layout.
Description
The region tag provides you with markup to define where editable regions should be
output within a layout.
Refer to the guide on Layouts for more details.
Parameters
| Parameter | Required | Description |
|---|---|---|
var_name
|
Yes |
string The var_name of a given editable region to include into the
layout.
|
Examples
<!DOCTYPE html>
<html>
<head><!-- ... --></head>
<body>
<main>
<article>
{% region 'main' %}
</article>
<aside>
{% region 'sidebar' %}
</aside>
</main>
</body>
</html>