httpstatuses/templates/code.jade
Samuel Ryan 747189f6b5 Adds support for code references on code pages
Example:

set: 2
code: 200
title: OK
references:
    "Rails HTTP Status Symbol": “:ok”
2015-11-06 21:10:41 +00:00

16 lines
419 B
Plaintext

extends layout.jade
block title
title !{code} !{title} — httpstatus.es
block contents
.code
article.container.code: .row: .twelve.columns
h2 !{groups.codes[set].title}
h1 #[span !{code}] !{title}
!= contents
if references
h1 #[span !{code}] Code References
each value, key in references
p !{key} !{value}
a(href='/') ← Return to httpstatus.es