I have a twig template with the {% page %} section. Is it somehow possible to create a theme, that inherits all html tags, and extends the part between the page section?
Example
<!-- parent.htm -->
<html>
<head></head>
<body>{% page %}</body>
</html>
<!-- child.htm -->
extend parent.htm
<div id="content">{% page %}</div>
the result should be the same as:
<!-- template.htm -->
<html>
<head></head>
<body><div id="content">{% page %}</div></body>
</html>
Last updated