blob: 8d057605afb7b8ec34ba9fea2ec7dc5903b55d9e (
plain)
1
2
3
4
5
6
7
|
<!-- https://discourse.gohugo.io/t/adding-anchor-next-to-headers/1726/24 -->
<h{{ .Level }} id="{{ .Anchor | safeURL }}"{{ with .Attributes.class }} class="{{ . }}"{{ end }}>
<a class="" href="#{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
<i class="fa fa-chain" aria-hidden="true"></i>
</a>
</h{{ .Level }}>
|