Files
paige-hugo/layouts/_default/_markup/render-heading.html
2025-03-04 16:45:57 -08:00

4 lines
277 B
HTML

<h{{ .Level }} id="{{ .Anchor }}" {{ range $k, $v := .Attributes }} {{ printf `%s="%s"` $k $v | safeHTMLAttr }} {{ end }}>
<a aria-label="{{ i18n "paige_link_to_this_section" }}" class="text-body text-decoration-none" href="#{{ .Anchor }}">{{ .Text }}</a>
</h{{ .Level }}>