hugo-book-theme/layouts/_default/_markup/render-heading.html
2020-05-30 23:22:51 +02:00

4 lines
145 B
HTML

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