hugo-book-theme/layouts/_default/_markup/render-heading.html

5 lines
145 B
HTML
Raw Normal View History

2020-05-30 20:50:08 +02:00
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
<a class="anchor" href="#{{ .Anchor | safeURL }}">#</a>
</h{{ .Level }}>