Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

Started by Ace A. 4 years ago · 1 replies · 412 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 complanar, 6 days ago
6 140 17 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 52 3 days ago
Support · by alex, 4 days ago
2 93 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago