view tests/servings/test_theme.yaml @ 877:d6d35b2efd04

bake: Rename "pass" to "step" and make the page pipeline use different steps. That pipeline is now first loading all pages, and then rendering full pages unless they trigger a sub-render.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 15 Jun 2017 22:16:23 -0700
parents 3df808b133f8
children 45ad976712ec
line wrap: on
line source

---
url: /
config:
    site:
        title: "Some Test"
in:
    theme/theme_config.yml: "name: testtheme"
    theme/pages/_index.md: "This is {{site.title}} by {{name}}"
    theme/templates/default.html: "THEME: {{content}}"
out: "THEME: This is Some Test by testtheme"
---
url: /foo.html
config:
    site:
        title: "Some Test"
    foo: bar
in:
    pages/foo.md: "This is: {{foo}} by {{name}}"
    theme/theme_config.yml: "name: testtheme"
out: "This is: bar by testtheme"