Hi guys!
Today I had a look at the admin panel. While playing around with its functionality several questions came to my mind.
For example:
I have a custom page header structure in some of my .md files to create content. Something like this:
slides:
- image: image1.jpg
heading: “We deliver nothing short of awesome !”
subheading: “Check out our portfolio to see our great work…”
How can I make this comfortably editable in the admin panel? I had a look at some skeletons and found out about a “blueprints” folder inside the theme folder. Unfortunately I couldn’t find any information regarding this inside the Grav manual. (is this going to be added to the docs?)
So I assume the following:
I need to create a “blueprints” folder inside my theme and create .yaml files with the name of the concerning template file. In this file I’m able to create form fields in the admin panel for my custom page headers. Do I really need as many files and restructures of the admin panel structure like in the antimatter theme blueprints or can I just “add” s ome field for my custom page headers?
Can someone walk me through the procedure with the above example? I would really appreciate this!
Thanks in advance!