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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

Started by Ace A. 4 years ago · 1 replies · 280 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 Thomas, 1 week ago
3 92 3 hours ago
Support · by Anna, 3 days ago
2 94 24 hours ago
Support · by Justin Young, 1 day ago
1 62 1 day ago
Support · by Duc , 1 week ago
2 98 6 days ago
Support · by Colin Hume, 1 week ago
2 91 6 days ago