Open peterkaminski opened 3 years ago
What's generated now:
<h2>Strength of Weak Ties, Granovetter</h2>
What to generate, something like this:
<h2 id="Strength-of-Weak-Ties-Granovetter" data-id="Strength-of-Weak-Ties-Granovetter"><a class="anchor hidden-xs" href="#Strength-of-Weak-Ties-Granovetter" title="Strength-of-Weak-Ties-Granovetter"><span class="octicon octicon-link"></span></a><span>Strength of Weak Ties, Granovetter</span></h2>
See https://discourse.gohugo.io/t/adding-anchor-next-to-headers/1726/11 for discussion of how to do this, including AnchorJS and other solutions.
What's generated now:
What to generate, something like this:
See https://discourse.gohugo.io/t/adding-anchor-next-to-headers/1726/11 for discussion of how to do this, including AnchorJS and other solutions.