Mercurial > piecrust2
view tests/bakes/test_data_provider.bake @ 392:923a9b96411d
data: Fix regression bug with accessing page metadata that doesn't exist.
Added unit test.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 17 May 2015 15:25:54 -0700 |
parents | 4b1019bb2533 |
children |
line wrap: on
line source
--- in: pages/foo.md: | Foo! pages/bar.md: | Bar! pages/allpages.md: | {% for p in site.pages -%} {{p.url}} {% endfor %} outfiles: allpages.html: | / /allpages.html /bar.html /foo.html