Mercurial > piecrust2
view tests/bakes/test_variant.yaml @ 681:894d286b348f
internal: Refactor config loading some more.
* Remove fixup code in the app to make the app config class more standalone.
* Remove support for old-style variants... maybe bring it back later.
* Try and fix various bugs introduced by subtle config value overriding order
changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 08 Mar 2016 01:07:34 -0800 |
parents | 81d9c3a3a0b5 |
children | 72f17534d58e |
line wrap: on
line source
--- config: what: not good config_variant: test in: pages/_index.md: 'This is {{what}}.' configs/test.yml: 'what: awesome' out: index.html: 'This is awesome.' --- config: what: not good config_values: what: awesome in: pages/_index.md: 'This is {{what}}.' out: index.html: 'This is awesome.'