view tests/bakes/test_theme_site.yaml @ 1100:1ce67d2fae0a

routing: Fix URL generation bug with ugly URLs and index pages in sub-folders.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 17 Feb 2018 11:54:00 -0800
parents 45ad976712ec
children
line wrap: on
line source

---
theme_config:
    site:
        title: "Some Test Theme"
in:
    pages/foo.html: "This is: {{site.title}}"
outfiles:
    foo.html: "This is: Some Test Theme"
---
theme_config:
    site:
        title: "Some Test Theme"
in:
    pages/foo.html: "This is: {{foo}}"
    configs/theme_preview.yml: "foo: bar"
outfiles:
    foo.html: "This is: bar"