Mercurial > hg > nginx-site
comparison xsls/error.xsls @ 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 |
---|---|
24 X:include href = "dirname.xslt"; | 24 X:include href = "dirname.xslt"; |
25 X:include href = "link.xslt"; | 25 X:include href = "link.xslt"; |
26 X:include href = "style.xslt"; | 26 X:include href = "style.xslt"; |
27 X:include href = "body.xslt"; | 27 X:include href = "body.xslt"; |
28 X:include href = "menu.xslt"; | 28 X:include href = "menu.xslt"; |
29 X:include href = "banner.xslt"; | |
30 X:include href = "ga.xslt"; | 29 X:include href = "ga.xslt"; |
31 X:include href = "content.xslt"; | 30 X:include href = "content.xslt"; |
32 | 31 |
33 | 32 |
34 X:template = "/error" { | 33 X:template = "/error" { |
35 <html><head><title> !{@name} </title> | 34 <html><head><title> !{@name} </title> |
36 | 35 |
37 !style (lang="@lang") | 36 !style (lang="@lang") |
38 | |
39 !banner () | |
40 | 37 |
41 !ga () | 38 !ga () |
42 | 39 |
43 </head> | 40 </head> |
44 | 41 |