view tests/servings/test_theme.yaml @ 1042:895f49c9833d

sources: Adds support for whitelist filtering to file-system sources.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 20 Jan 2018 17:23:34 -0800
parents 45ad976712ec
children
line wrap: on
line source

---
url: /
config:
    site:
        title: "Some Test"
in:
    theme/theme_config.yml: "name: testtheme"
    theme/pages/_index.html: "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.html: "This is: {{foo}} by {{name}}"
    theme/theme_config.yml: "name: testtheme"
out: "This is: bar by testtheme"