mirror of
https://github.com/nginx/nginx.git
synced 2026-05-28 04:12:47 -04:00
HTTP errors are now output as "code (text)".
This commit is contained in:
parent
e07a3577a9
commit
5a8a4bd20c
1 changed files with 1 additions and 2 deletions
|
|
@ -35,8 +35,7 @@ X:stylesheet {
|
|||
X:template = "header" { <code> !!; </code> }
|
||||
|
||||
X:template = "http-error" {
|
||||
<i> X:text{"} !{@text} X:text{"} </i>
|
||||
X:text{ (} !{@code} X:text{)}
|
||||
!{@code} X:text{ (} !{@text} X:text{)}
|
||||
}
|
||||
|
||||
X:template = "link[@url]" { <a href="{@url}"> !!; </a> }
|
||||
|
|
|
|||
Loading…
Reference in a new issue