Hey
I’m new to Kirby and struggling to get the panel to show manually created pages.
Here’s what I’m trying to do.
/projects → this is a page that is essentially a collection of links to categories for projects.
/projects/category-a → this is a page that is list of links for that particular category
/projects-category-a/project-1 → this is a particular project detail page
My current issue is that I can’t see anything beyond /projects in my Kirby panel view. All my created subpages and sub-sub-pages are not visible.
Here’s my current file structure for relevant folders:
3_projects folder:
├── 1_category-a
│ ├── 1_project-1
│ │ └── projectdetail.txt
│ ├── 2_project-2
│ │ └── project.txt
│ └── project.txt
├── 2_category-b
│ ├── 1_project-1
│ │ └── project.txt
│ ├── 2_project-2
│ │ └── project.txt
│ └── project.txt
└── projectslist.txt
Blueprints folder:
├── fields
└── pages
├── default.yml
├── project.yml
├── projectdetail.yml
├── projectslist.yml
└── site.yml
Templates folder:
├── default.php
├── home.php
├── project.php
├── projectdetail.php
├── projectslist.php
└── untitled file
And here are some relevant files:
site.yml:
title: Site
sections:
pages:
type: pages
create: default
status: all
templates:
- default
- home
- project
- projectdetail
- projectlist
projectslist.yml
title: Projects List
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
text:
type: textarea
size: huge
show_in_social_nav:
label: Show in Social Nav
type: toggle
circle_bg_color:
type: color
label: Circle Background Color
sidebar:
width: 1/3
sections:
pages:
type: pages
template: projectdetail
files:
type: files
projectdetail.yml
title: Project Detail
fields:
title:
label: Title
type: text
date:
label: Date
type: date
default: today
role:
label: Role
type: text
featureimage:
label: Feature Image
type: files
max: 1
width: 1/2
text:
label: Prose and Images
type: blocks
fieldsets:
- text
- image
tags:
label: Tags
type: tags
project.yml
title: Project
fields:
title:
label: Title
type: text
description:
label: Description
type: textarea
size: medium
date:
label: Date
type: date
default: today
time: false
tags:
label: Tags
type: checkboxes
options:
tag-a: "Tag A"
tag-b: "Tag B"
tag-c: "Tag C"
tag-d: "Tag D"
tag-e: "Tag E"
tag-f: "Tag F"
pages:
template: project-detail
For clarity:
/projects → this is a page that is essentially a collection of links to categories for projects, this is using the projectslist template
/projects/category-a → this is a page that is list of links for that particular category
this is using the project template
/projects-category-a/project-1 → this is a particular project detail page
this is using the projectdetail template
Nothing past the top level is showing in my Kirby panel and I really would appreciate some guidance! Thanks