I tried to follow the sample for the ‘one pager’: https://getkirby.com/docs/reference/panel/samples/one-pager
I am able to build the templates and blueprints. Except of the /site/templates/one-page.php template. When I tried the code as in the example it doesn’t work. My ‘parts’ (sub-pages?) doesn’t show up.
<?php foreach ($page->children()->listed() as $part) : ?>
<main><?php endforeach ?>
<section class="<?= $part->intendedTemplate() ?>"> <?php snippet($part->intendedTemplate(), compact('part')) ?> </section>
Can anybody tells me what I am doing wrong?
Thank you very much in advance!