trwnh.com/profile.test.hugo/layouts/_default/_markup/render-heading.html
2024-09-29 20:32:51 -05: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}}>