trwnh.com/unified.test.hugo/layouts/_default/_markup/render-heading.html

6 lines
No EOL
211 B
HTML

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