mirror of
https://github.com/docker/docs.git
synced 2026-03-28 14:58:53 +07:00
Create a 'tier' attribute for headings and render it semantically Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
9 lines
180 B
HTML
9 lines
180 B
HTML
{{ partial "heading.html" (dict
|
|
"level" .Level
|
|
"text" (.Text | safeHTML)
|
|
"id" (.Attributes.id | default .Anchor)
|
|
"class" .Attributes.class
|
|
"tier" .Attributes.tier
|
|
)
|
|
}}
|