Hello, I want to list different types of pages in my site.yml, but I fail for some reasons.
I tried different ways, by adding sections, by extending to section folders, by not adding sections in the first place.
Here is what is in my site.yml:
sections:
drafts:
extends: sections/articles
headline: Entwurf
status: draft
unlisted:
extends: sections/articles
headline: Gelistet
status: unlisted
published:
extends: sections/articles
headline: Öffentlich
status: listed
sections:
pages:
type: pages
create: default
template: default
headline: Seiten
sections:
files:
type: files
headline: Dateien
Then here - sections/articles:
type: pages
parent: site.find('blog')
info: "{{ page.date.toDate('d.m.Y') }}"
template: article
empty: Noch kein Inhalt erstellt
sortBy: date desc
“Pages” are those that contain site informations, privacy, about.
What is it that I might be doing wrong?