Hello,
I have a chanson.yml. I can select a or multiple personne.yml
sections:
credits:
type: fields
fields:
auteur:
type: pages
multiple: true
query: site.find('personnes')
image:
back: black
width: 1/3
empty: Aucune entrée
compositeur:
type: pages
multiple: true
query: site.find('personnes')
image:
back: black
width: 1/3
empty: Aucune entrée
adaptateur:
type: pages
multiple: true
query: site.find('personnes')
image:
back: black
width: 1/3
empty: Aucune entrée
editeur:
label:
fr: Editeur(s)
en: Editor(s)
type: pages
multiple: true
query: site.find('editeurs')
image:
back: black
width: 1/3
empty: Aucune entrée
And in a template of chanson.php, i would like show a name and link page of a or multiple personne(s).
<ul>
<li><a href="http://localhost/cms/kirby/rslt/personnes/erick-benzi">Erick Benzi</a></i>
<li><a href="http://localhost/cms/kirby/rslt/personnes/jacques-veneruso">Jacques Veneruso</a></li>
</ul>
What code should I put in to get it?