diff tests/bakes/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/bakes/test_unicode.yaml	Tue Jul 28 18:34:21 2015 -0700
@@ -0,0 +1,21 @@
+---
+in:
+    posts/2010-01-01_déjà-des-accents.md: 'POST URL: {{page.url}}'
+    pages/présentation.md: 'PAGE URL: {{page.url}}'
+    pages/_index.md: ''
+out:
+    '2010':
+        '01':
+            '01':
+                déjà-des-accents.html: 'POST URL: /2010/01/01/d%C3%A9j%C3%A0-des-accents.html'
+    présentation.html: 'PAGE URL: /pr%C3%A9sentation.html'
+    index.html: ''
+---
+in:
+    pages/special/Это тэг.md: 'PAGE URL: {{page.url}}'
+    pages/_index.md: ''
+out:
+    special:
+        Это тэг.html: 'PAGE URL: /special/%D0%AD%D1%82%D0%BE%20%D1%82%D1%8D%D0%B3.html'
+    index.html: ''
+