Hello! I’m creating a theme for a one-page site, and using a modular approach. I’ve been able to successfully create blueprints for two of the modules, but the blueprints are not working for the other 4. All the modules are set up exactly the same, and I’ve been trying to use the blueprint examples from the documentation (Example: Page Blueprints | Grav Documentation), which worked for the first two pages.
I don’t understand why it works for two of them but not the rest. I’m at my wit’s end. Any help would be appreciated.
The yaml:
title: Gallery
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
gallery:
type: tab
title: Gallery
fields:
header.an_example_text_field:
type: text
label: Add a number
default: 5
validate:
required: true
type: int
header.an_example_select_box:
type: select
label: Select one of the following
default: one
options:
one: One
two: Two
three: Three
File structure: