Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
801:b95a6d779c89 | 802:8af7fe0794b0 |
---|---|
39 X:template = "/article | /module" { | 39 X:template = "/article | /module" { |
40 <html> | 40 <html> |
41 | 41 |
42 X:if "@lang = 'he'" { X:attribute "dir" { X:text{rtl} } } | 42 X:if "@lang = 'he'" { X:attribute "dir" { X:text{rtl} } } |
43 | 43 |
44 X:if "@lang = 'cn'" { X:attribute "lang" { X:text{zh-CN} } } | |
45 | |
44 <head> | 46 <head> |
45 | 47 |
46 <title> !{@name} </title> | 48 <title> !{@name} </title> |
47 | 49 |
48 !style (lang="@lang") | 50 !style (lang="@lang") |