I want the content of the text field from the BLOCK-function for an overview page.
<?php foreach (page('arbeiten')->children()->listed() as $arbeiten): ?>
// this works quite well without BLOCK-function
<?= $arbeiten->summary() ?>, <?= $arbeiten->date()->toDate('Y') ?>
// with that 'everything' from BLOCK is output:
<?= $arbeiten->blocks() ?>
// this gives me an ERROR:
<?= $arbeiten-blocks()->filterBy('type', 'text') ?>
<?php endforeach ?>