Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xsls/news.xsls +++ b/xsls/news.xsls @@ -26,15 +26,15 @@ X:template = "/news" { <html><head> <link rel="alternate" type="application/rss+xml" - title="{@title}" href="{$SITE}/index.rss" /> + title="{@name}" href="{$SITE}/index.rss" /> - <title> !{@title} X:if "$YEAR" { X:text{: } !{$YEAR} } </title> + <title> !{@name} X:if "$YEAR" { X:text{: } !{$YEAR} } </title> !style () </head> - !body (lang="/news/@lang") + !body (lang="@lang") </html> }