accessible.tips/themes/hugo-xmin/layouts/_default/_markup/render-heading.html

4 lines
124 B
HTML

<a class="heading" href="#{{ .Anchor }}"><h{{ .Level }} id="{{ .Anchor }}">
{{- .Text | safeHTML -}}
</h{{ .Level }}></a>