Hello.
When I create a new page, the panel does not permit choosing other page templates which I have created and put in the templates folder.
Is there a possibility to enable choosing? And how?
Thanks in advance for any help.
Nedim!
Hello.
When I create a new page, the panel does not permit choosing other page templates which I have created and put in the templates folder.
Is there a possibility to enable choosing? And how?
Thanks in advance for any help.
Nedim!
You need blueprints in the /site/blueprints/pages
folders and depending on where you want to add these new pages, you have to allow those new blueprints in the parent blueprint, for example, in a Starterkit’s site.yml
, you can only create new pages with the default blueprint. To change that, you would have to change
pages:
type: pages
create: default
templates:
- about
- home
- default
To:
pages:
type: pages
create:
- template-a
- template-b
- ...
templates:
- about
- home
- default
Thanks a lot! That solved my problem.