<?php $_shouldextend[1]=1; ?>

<?php $this->startSection("header"); ?>

<?php $this->stopSection(); ?>

<?php $this->startSection("body"); ?>
<p>Page 1</p>
<?php $this->stopSection(); ?>

<?php $this->startSection("footer"); ?>
<p>Footer of Page 1</p>
<?php $this->stopSection(); ?>
<?php if (isset($_shouldextend[1])) { echo $this->runChild(".layouts.m4_7d_layout",['title' => "Page 1"]); } ?>