Create pages under a specific folder

Hey there
I’m using tabs to manage a system of subfolders on my website.
If I create a page in a tab, I have to specify the parent folder, otherwise, it’s going to nest it directly at the root of the content folder.
So I created a folder called “bedroom” and a template like that

icon: search

sections:
  pages:
    parent: bedroom
    status: all
    pages: []
    template: bedroom

It returns me this error : **The section "pages" could not be loaded:** The parent for the query "bedroom" cannot be found in the section "pages"

Should be site.find('bedroom') or whatever the path to the folder is, in relation to the content folder.

1 Like