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

6 lines
207 B
HTML
Raw Normal View History

2022-12-03 21:40:21 +00:00
<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}}>