Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Can you create a default value file for page-level blueprints?

Started by Ace A. 4 years ago · 1 replies · 459 views
4 years ago

Grav allows you to define default values for theme-level configuration using theme-name.yaml in the theme root directory. Can you do the same for page-level blueprints?

Like if you create a item.yaml with a custom form, how will you be able to bundle another yaml file that loads default values for item.yaml?

last edited 12/17/22 by pamtbaau
4 years ago

@gravnoobie,

Like if you create a item.yaml with a custom form, how will you be able to bundle another yaml file that loads default values for item.yaml ?

Why would one want to do that? Do you have a certain use-case for that?

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 169 1 week ago
Support · by nwhitfield, 1 week ago
2 145 1 week ago
Support · by stell, 3 weeks ago
5 379 2 weeks ago
Support · by gravinator, 1 month ago
5 571 2 weeks ago
Support · by Gravver, 3 weeks ago
6 356 3 weeks ago