Mercurial > piecrust2
diff tests/servings/test_unicode.yaml @ 520:bab91fcef741
bake/serve: Improve support for unicode, add slugification options.
* Add slugification options for taxonomies.
* Sort out some unicode support problems on OSX.
* Add tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 28 Jul 2015 18:34:21 -0700 |
parents | |
children | 45ad976712ec |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/servings/test_unicode.yaml Tue Jul 28 18:34:21 2015 -0700 @@ -0,0 +1,16 @@ +--- +url: /pr%C3%A9sentation.html +in: + pages/présentation.md: 'PAGE URL: {{page.url}}' +out: 'PAGE URL: /pr%C3%A9sentation.html' +--- +url: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html +in: + posts/2010-01-01_déjà-des-accents.md: 'POST URL: {{page.url}}' +out: 'POST URL: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html' +--- +url: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html +in: + pages/special/Это тэг.md: 'PAGE URL: {{page.url}}' +out: 'PAGE URL: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html' +