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

5 lines
145 B
HTML
Raw Normal View History

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