Mercurial > piecrust2
view tests/bakes/test_special_root.yaml @ 568:6b6c5442c790
bug: Correctly handle root URLs with special characters.
The `site/root` setting is now pre-escaped to get a correct URL, and routing
excludes it from escaping.
Add unit tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Oct 2015 22:50:38 -0700 |
parents | |
children | 45ad976712ec |
line wrap: on
line source
--- config: site: root: /~john/public/ in: pages/about.md: 'URL: {{page.url}}, LINK: {{pcurl("missing")}}' pages/_index.md: 'URL: {{page.url}}' out: about.html: 'URL: /%7Ejohn/public/about.html, LINK: /%7Ejohn/public/missing.html' index.html: 'URL: /%7Ejohn/public/'