comparison tests/bakes/test_variant.yaml @ 466:456db44dcc53

bake: Pass the config variants and values from the CLI to the baker. TODO: add support for that for the processor pipeline.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 11 Jul 2015 23:51:02 -0700
parents
children 81d9c3a3a0b5
comparison
equal deleted inserted replaced
465:b6e797463798 466:456db44dcc53
1 ---
2 config:
3 what: not good
4 variants:
5 test:
6 what: awesome
7 config_variant: test
8 in:
9 pages/_index.md: 'This is {{what}}.'
10 out:
11 index.html: 'This is awesome.'
12 ---
13 config:
14 what: not good
15 config_values:
16 what: awesome
17 in:
18 pages/_index.md: 'This is {{what}}.'
19 out:
20 index.html: 'This is awesome.'
21