Add authors to your pages in structure

I followed the cookbook on an author’s posting.

It works when the author is in the foreground.
But I can’t reach the author when he is in a structure.

I have a general author (not very useful) and internal authors (in a list) who each write a story for each group (these are bike groups).

I have a general title that must be kept.

This allows us to say that in:
group 1 was written by Henri
group 2 was written by Franck
group 3 was written by Mickael


          $stories = page('sorties/recits')->grandChildren()->listed()->filter(function($child) use($user){
          return in_array($user->id(), ($child->author()->yaml()));

I think you have to manage to reach the author of the list upstream, but I can’t.


          <div class="tab-pane fade py-4" id="nav-recits" role="tabpanel" aria-labelledby="nav-profile-tab"
              <?= $page->firstname() ?> a écrit <?= count($stories) ?> récit(s).
            <?php if ($stories): ?>
            <ul class="list-group list-group-flush">
              foreach($stories as $storie):
              <li class="list-group-item"><a href="<?= $storie->url() ?>"><?= $storie->title() ?></a></li>
              <?php endforeach ?>
            <?php endif ?>