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

<?php $this->startSection('content'); ?>
<?php
$blocks = json_decode($page['builder_json'] ?? '[]', true);
if (!is_array($blocks)) $blocks = [];
echo render_page_blocks($blocks);
?>
<?php $this->stopSection(); ?>

<?php if (isset($_shouldextend[1])) { echo $this->runChild('layouts.main'); } ?>