My homepage has a gallery of project subpages that link to the project.php template
None of the code in inside my main tags is rendering to the front end
<main>
<?php foreach($page->builder()->toBuilderBlocks() as $block): ?>
<?php snippet('blocks/' . $block->_key(), array('data' => $block)); ?>
<?php endforeach ?>
<?php foreach ($page->children()->listed() as $architect): ?>
<a href="<?= $architect->url() ?>">
Link Title
</a>
<?php endforeach ?>
</main>
My Blueprint:
title: Project
tabs:
content:
label: Content
icon: text
sections:
fields:
type: fields
fields:
hero_image:
type: files
max: 1
width: 1/2
uploads: false
multiples: false
label: Project thumbnail Image
key:
type: text
width: 1/2
label: Key(s)
builder:
type: builder
label: Page Builder
fieldsets:
mediablock:
label: Media Block
fields:
media:
type: files
label: Image or Video Embed
width: 1/1
textblock:
label: Text Block
fields:
text:
type: text
label: Text Body
width: 1/1
architect:
type: pages
layout: cards
max: 1
templates: architect
image:
cover: true
ratio: 1/1