Great! I changed it to defaulthasctaPage
and the page is loading, but not the content. I assume the code in
function url() {
return url($this->uid());
}
is not running. Took it from here.
What would be the way to overwrite the URL method? For reference, the code for the breadcrumbs is:
<?php foreach($site->breadcrumb() as $crumb): ?>
<li>
<a href="<?= $crumb->url() ?>">
<?= html($crumb->title()) ?>
</a>
</li>
<?php endforeach ?>