Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

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

Started by Ace A. 4 years ago · 1 replies · 377 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 Paul Hodges, 4 weeks ago
19 485 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago