mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 04:49:01 +08:00
HTTP errors are now output as "code (text)".
This commit is contained in:
parent
e07a3577a9
commit
5a8a4bd20c
@ -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 New Issue
Block a user