diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bakes/test_variant.yaml	Sat Jul 11 23:51:02 2015 -0700
@@ -0,0 +1,21 @@
+---
+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.'
+