blob: 3ebfeb6b2cfd7015dc8b4c790e61625445a99997 (
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 }}>
{{ .Text | safeHTML }}
<a class="heading-anchor" href="#{{ .Anchor | safeURL }}">
<i class="fa fa-chain" aria-hidden="true"></i>
</a>
</h{{ .Level }}>
|