Files
docker-docs/layouts/_default/_markup/render-heading.html
David Karlsson 599393423f dhi: use attribute for tier, remove badge shortcode from heading
Create a 'tier' attribute for headings and render it semantically

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-12-17 14:07:35 +01:00

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
)
}}