hugo_frigg/layouts/_default/_markup/render-heading.html

8 lines
191 B
HTML
Raw Normal View History

2021-10-26 11:34:30 +02:00
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
<a class="anchor" href="#{{ .Anchor | safeURL }}">
#
<!-- {{ strings.Repeat .Level "#" }} -->
</a>
{{ .Text | safeHTML }}
</h{{ .Level }}>