Hi there,
after looking for a cmf, I decided to rebuild an older page with Kirby. This is my first project with Kirby, so I’m totally new to this stuff
My question is about a page with a long list of publications.
I created a page »publications«. This page will contain a lot of subpages. Every subpage has a field for the year and three additional fields – title, description and download field. They are wrapped in a structure field.
The html structure from a subpage will look like this:
year
title
description
download pdfThis is my blueprint (publikation.yml):
title: Publikation
pages:
hide: true
options:
delete: true
status: true
fields:
title:
label: Title
type: title
publikationlist:
label: Publikation Liste
type: structure
sort: zip, asc, street, asc
flip: true
fields:
description:
label: Beschreibung
type: textarea
In the backend everything works fine. My problem is, how exactly to put the php code in template together with a foreach loop.
thanks