view tests/bakes/test_theme.yaml @ 868:8d25f76fce98

bake: Add ability to specify pipelines to exclude during the bake.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 12 Jun 2017 22:22:19 -0700
parents 3df808b133f8
children 45ad976712ec
line wrap: on
line source

---
config:
    site:
        title: "Some Test"
        default_page_layout: 'none'
    foo: bar
in:
    pages/foo.md: "This is: {{foo}}, with no template"
    theme/theme_config.yml: "name: testtheme"
    theme/pages/_index.md: "This is {{site.title}} by {{name}}, with theme template"
    theme/templates/default.html: "THEME: {{content}}"
out:
    index.html: "THEME: This is Some Test by testtheme, with theme template"
    foo.html: "This is: bar, with no template"
---
config:
    site:
        default_page_layout: 'custom'
in:
    pages/foo.md: "FOO"
    pages/bar.md: "---\nlayout: blah\n---\nBAR"
    templates/custom.html: "CUSTOM: {{content}}"
    theme/theme_config.yml: "site: {sources: {theme_pages: {default_layout: blah}}}"
    theme/pages/_index.md: "theme index"
    theme/pages/about.md: "about"
    theme/templates/blah.html: "THEME: {{content}}"
out:
    index.html: "THEME: theme index"
    about.html: "THEME: about"
    foo.html: "CUSTOM: FOO"
    bar.html: "THEME: BAR"