mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-10-06 16:17:22 +02:00
Displays non-standard status codes with black code
This commit is contained in:
parent
68fd580470
commit
cca36a9d93
@ -106,6 +106,10 @@ code {
|
||||
font-weight: bold;
|
||||
width: 34px;
|
||||
}
|
||||
|
||||
span.non-standard {
|
||||
color: #556270;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,11 @@
|
||||
extends layout.jade
|
||||
|
||||
mixin statuscode(code)
|
||||
if !code.standard
|
||||
li #[a(href='/#{code.code}', title='Non-standard') #[span(class='non-standard') !{code.code}] #{code.title}]
|
||||
else
|
||||
li #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]
|
||||
|
||||
block contents
|
||||
.hero.introduction: .container: .row: .twelve.columns !{contents}
|
||||
|
||||
@ -8,4 +14,4 @@ block contents
|
||||
ul
|
||||
li #[h2 !{group.title}]
|
||||
each code in group.items
|
||||
li #[a(href='/#{code.code}') #[span !{code.code}] #{code.title}]
|
||||
+statuscode(code)
|
||||
|
Loading…
Reference in New Issue
Block a user