Hi everyone !
I have a problem with my panel’s control in kirby. the pages doesn’t show there. The information say “pages not yet”, but there are 3 pages.
And, when I add a page, I can’t preview that.
The error message is : Whoops\Exception\ErrorException thrown with message “Undefined variable: gallery”
Stacktrace: #9 Whoops\Exception\ErrorException in /Applications/MAMP/htdocs/starterkit-main2/site/templates/bsr-template.php:41 #8 Whoops\Run:handleError in /Applications/MAMP/htdocs/starterkit-main2/site/templates/bsr-template.php:41
To be able to help you, I would need some more information. Obviously, you have made some changes to the Starterkit and added and/or removed the existing pages.
The Panel will only ever show what you define in your blueprints, i.e. the /site/blueprints/site.yml file for the Panel “Dashboard” and the page specific blueprints for pages and their subpages.
Could you post what is currently in your site.yml and what pages you have created with which content file names?
But that looks like what it should look like. With the two pages that don’t seem to have any subpages yet. If you click on the headlines, you will land on the respective pages.
I don’t understand, I change this line because you are right, I don’t have a blueprint to costumize the page and i have again zero page in my panel .
But in my folder, the are 3 pages