mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-11-01 16:22:31 +01:00
Adds support for code references on code pages
Example: set: 2 code: 200 title: OK references: "Rails HTTP Status Symbol": “:ok”
This commit is contained in:
parent
91f610fae7
commit
747189f6b5
@ -9,4 +9,8 @@ block contents
|
|||||||
h2 !{groups.codes[set].title}
|
h2 !{groups.codes[set].title}
|
||||||
h1 #[span !{code}] !{title}
|
h1 #[span !{code}] !{title}
|
||||||
!= contents
|
!= contents
|
||||||
|
if references
|
||||||
|
h1 #[span !{code}] Code References
|
||||||
|
each value, key in references
|
||||||
|
p !{key} !{value}
|
||||||
a(href='/') ← Return to httpstatus.es
|
a(href='/') ← Return to httpstatus.es
|
Loading…
Reference in New Issue
Block a user