Mercurial > piecrust2
view tests/servings/test_theme_site.yaml @ 771:673979a5d548
internal: Don't strip the trailing slash when we get the root URL exactly.
Before we were treating `/` as a special case, when the special case is *any*
root URL -- not just `/`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 03 Jul 2016 07:53:17 -0700 |
parents | 3df808b133f8 |
children | 45ad976712ec |
line wrap: on
line source
--- url: /foo.html theme_config: site: title: "Some Test Theme" in: pages/foo.md: "This is: {{site.title}}" out: "This is: Some Test Theme" --- url: /foo.html theme_config: site: title: "Some Test Theme" in: pages/foo.md: "This is: {{foo}}" configs/theme_preview.yml: "foo: bar" out: "This is: bar"