diff xsls/article.xsls @ 802:8af7fe0794b0

Improved appearance of Chinese documentation. Added the "lang" attibute and made the text left aligned.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 28 Dec 2012 13:17:39 +0000
parents 81ad082bc837
children fdf1464e1977
line wrap: on
line diff
--- a/xsls/article.xsls	Thu Dec 27 17:16:39 2012 +0000
+++ b/xsls/article.xsls	Fri Dec 28 13:17:39 2012 +0000
@@ -41,6 +41,8 @@
 
     X:if "@lang = 'he'" { X:attribute "dir" { X:text{rtl} } }
 
+    X:if "@lang = 'cn'" { X:attribute "lang" { X:text{zh-CN} } }
+
     <head>
 
     <title> !{@name} </title>