Mercurial > hg > nginx-site
comparison xslt/news.xslt @ 3045:91a2ee74ca72
Regenerated.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 14 Feb 2024 20:05:53 +0300 |
parents | c704a743f269 |
children | 331fcfce1ada |
comparison
equal
deleted
inserted
replaced
3044:6c78190bc1cb | 3045:91a2ee74ca72 |
---|---|
26 <xsl:include href="dirname.xslt"/> | 26 <xsl:include href="dirname.xslt"/> |
27 <xsl:include href="link.xslt"/> | 27 <xsl:include href="link.xslt"/> |
28 <xsl:include href="style.xslt"/> | 28 <xsl:include href="style.xslt"/> |
29 <xsl:include href="body.xslt"/> | 29 <xsl:include href="body.xslt"/> |
30 <xsl:include href="menu.xslt"/> | 30 <xsl:include href="menu.xslt"/> |
31 <xsl:include href="banner.xslt"/> | |
32 <xsl:include href="content.xslt"/> | 31 <xsl:include href="content.xslt"/> |
33 | 32 |
34 | 33 |
35 <xsl:template match="/news"> | 34 <xsl:template match="/news"> |
36 <html><head> | 35 <html><head> |
37 | 36 |
38 <link rel="alternate" type="application/rss+xml" title="{@name}" href="{$SITE}/index.rss"/> | 37 <link rel="alternate" type="application/rss+xml" title="{@name}" href="{$SITE}/index.rss"/> |
39 | 38 |
40 <title> <xsl:value-of select="@name"/> <xsl:if test="$YEAR"> <xsl:text>: </xsl:text> <xsl:value-of select="$YEAR"/> </xsl:if> </title> | 39 <title> <xsl:value-of select="@name"/> <xsl:if test="$YEAR"> <xsl:text>: </xsl:text> <xsl:value-of select="$YEAR"/> </xsl:if> </title> |
41 | 40 |
42 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template><xsl:call-template name="banner"/></head> | 41 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></head> |
43 | 42 |
44 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> | 43 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> |
45 </xsl:template> | 44 </xsl:template> |
46 | 45 |
47 | 46 |