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:
Samuel Ryan 2015-11-06 21:10:41 +00:00
parent 91f610fae7
commit 747189f6b5

View File

@ -9,4 +9,8 @@ block contents
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