{% page %}
Twig Tag
The {% page %}
tag renders the contents of a page into a layout template. See layouts for a basic example.
The {% page %}
tag parses the raw markup from a page template. A page template may inject content both into placeholder(s) as well as define raw markup.
description="example layout"
Copied!
<html> <head> {% placeholder head %} </head> <body> {% page %} ...
Copied!
Placing content in the head
placeholder.
description="example page"
Copied!
{% put head %} <meta name="foo" content="bar"> {% endput %} <p>My content.</p>
Copied!
The page rendered with the template would result in:
<html> <head> <meta name="foo" content="bar"> </head> <body> <p>My content.</p> ...
Copied!