comparison xsls/news.xsls @ 123:7db449e89e92

Unified the use of the "name" attribute instead of "title".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 21 Oct 2011 06:17:16 +0000
parents f31230984540
children c7d2ce96298b
comparison
equal deleted inserted replaced
122:871ea104fdbf 123:7db449e89e92
24 24
25 X:template = "/news" { 25 X:template = "/news" {
26 <html><head> 26 <html><head>
27 27
28 <link rel="alternate" type="application/rss+xml" 28 <link rel="alternate" type="application/rss+xml"
29 title="{@title}" href="{$SITE}/index.rss" /> 29 title="{@name}" href="{$SITE}/index.rss" />
30 30
31 <title> !{@title} X:if "$YEAR" { X:text{: } !{$YEAR} } </title> 31 <title> !{@name} X:if "$YEAR" { X:text{: } !{$YEAR} } </title>
32 32
33 !style () 33 !style ()
34 34
35 </head> 35 </head>
36 36
37 !body (lang="/news/@lang") 37 !body (lang="@lang")
38 38
39 </html> 39 </html>
40 } 40 }
41 41
42 42