Mercurial > piecrust2
view tests/servings/test_unicode.yaml @ 723:606f6d57b5df
routing: Cleanup URL routing and improve page matching.
* Add new types of route parameters for integers (int4, int2, int).
* Remove hard-coded hacks around converting year/month/day values.
* Make the blog post routes use the new typed parameters.
* Fix problems with matching routes with integer parameters when they can
get confused with a sub-page number.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 May 2016 20:19:28 -0700 |
parents | bab91fcef741 |
children | 45ad976712ec |
line wrap: on
line source
--- 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'