view 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
line wrap: on
line source

---
config:
    what: not good
    variants:
        test:
            what: awesome
config_variant: test
in:
    pages/_index.md: 'This is {{what}}.'
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.'