I prefer the structure in blueprint to better separate content, i try this :
/pages/publications.yml :
title: Publications
sections:
pages:
extends: sections/theses
status: all
pages:
extends: sections/hdr
status: all
/sections/hdr.yml :
type: pages
parent: site.find("publications")
label: HDR
template: publication.hdr
empty: No articles yet
sortBy: date desc
/sections/theses.yml :
type: pages
parent: site.find("publications")
label: Theses
template: publication.hdr
empty: No articles yet
sortBy: date desc
/pages/publication.these.yml :
title: Thèse
icon: đź“–
status:
draft:
label: Draft
text: The article is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The article is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The article is online and listed in the blog
fields:
text:
type: textarea
size: large
/pages/publication.hdr.yml :
title: HDR
icon: đź“–
status:
draft:
label: Draft
text: The article is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The article is online and can be visited with the direct URL. The team must still give the final go to publish it.
listed:
label: Published
text: The article is online and listed in the blog
fields:
text:
type: textarea
size: large
The content folder :

But when i connect to publication page, i only have one section and not two (HDR, These) why ?
EDIT :
I found in the starterkit that section injected need to be defined like that
title: Publications
sections:
theses: sections/theses
label: Theses
status: all
hdr: sections/hdr
label: HDR
status: all
But now, i have two messages that say :
- ## Invalid section type (“theses”)
- ## Invalid section type (“hdr”)
EDIT 2
If i add directly content of sections into my publications.yml
, it seems the pages are well detected, so there is problem with my sections/hdr and sections/these definition. Any help @texnixe appreciated because i don’t found where is the syntax error that lead this messages…
sections:
theses: sections/theses
hdr: sections/hdr
publication_these:
label: these
type: pages
templates: publication_these
sortBy: date desc
publication_hdr:
label: hdr
type: pages
templates: publication_hdr
sortBy: date desc