trwnh.com/hugo/layouts/_default/_markup/render-heading.html
2022-12-03 15:40:21 -06:00

6 lines
No EOL
207 B
HTML

<h{{.Level}} class="heading" id="{{.Anchor | safeURL}}">
<span class="heading__text">{{.Text | safeHTML}}</span>
<a class="heading__anchor-link" href="#{{.Anchor | safeURL}}">
[link]
</a>
</h{{.Level}}>