about summary refs log tree commit diff
path: root/layouts/_default/_markup/render-heading.html
blob: bf2eb5bcc9c495b51ef7e0b75246f4872f4e4030 (plain) (blame)
1
2
3
4
5
6
{{ $id := .Anchor | safeURL }}
<h{{ .Level }} id="{{ $id }}">
<a class="heading-anchor" href="#{{ $id }}">
	{{ .Text | safeHTML }}
</a>
</h{{ .Level }}>