Mercurial > hg > nginx-site
comparison xslt/error.xslt @ 2851:04b2f591b5af
Removed banner from error page.
* It makes almost no sense.
* It is hard to build relative path to banner because of internal redirect.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 24 May 2022 10:59:52 +0400 |
parents | fdf1464e1977 |
children | c704a743f269 |
comparison
equal
deleted
inserted
replaced
2850:6cd5251fa760 | 2851:04b2f591b5af |
---|---|
25 <xsl:include href="dirname.xslt"/> | 25 <xsl:include href="dirname.xslt"/> |
26 <xsl:include href="link.xslt"/> | 26 <xsl:include href="link.xslt"/> |
27 <xsl:include href="style.xslt"/> | 27 <xsl:include href="style.xslt"/> |
28 <xsl:include href="body.xslt"/> | 28 <xsl:include href="body.xslt"/> |
29 <xsl:include href="menu.xslt"/> | 29 <xsl:include href="menu.xslt"/> |
30 <xsl:include href="banner.xslt"/> | |
31 <xsl:include href="ga.xslt"/> | 30 <xsl:include href="ga.xslt"/> |
32 <xsl:include href="content.xslt"/> | 31 <xsl:include href="content.xslt"/> |
33 | 32 |
34 | 33 |
35 <xsl:template match="/error"> | 34 <xsl:template match="/error"> |
36 <html><head><title> <xsl:value-of select="@name"/> </title> | 35 <html><head><title> <xsl:value-of select="@name"/> </title> |
37 | 36 |
38 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template><xsl:call-template name="banner"/><xsl:call-template name="ga"/></head> | 37 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template><xsl:call-template name="ga"/></head> |
39 | 38 |
40 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> | 39 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> |
41 </xsl:template> | 40 </xsl:template> |
42 | 41 |
43 </xsl:stylesheet> | 42 </xsl:stylesheet> |