priyatam / pie

A minimalist staticsite builder and router
Other
5 stars 0 forks source link

Support hierarchical Config #20

Closed priyatam closed 11 years ago

priyatam commented 11 years ago

A recipe config can override system config.

For ex, a recipe owner can provide a local config.yaml with relative paths of templates, recipes, lambdas, and new params. bake.py merges recipe#config with system config.

Code: dict(sys-config, **rec-config)

Duplicates are resolved in favor of the value in rec;