Landing sections now carry ids (status, features, faq, collab, …) so any section is directly linkable (e.g. /#faq). About and Legal headings get a discreet, hover-revealed permalink via a goldmark heading render hook. A scroll-margin-top offset keeps anchored targets clear of the sticky header.
4 lines
156 B
HTML
4 lines
156 B
HTML
<h{{ .Level }} id="{{ .Anchor }}">
|
|
{{ .Text | safeHTML }}
|
|
<a class="heading-anchor" href="#{{ .Anchor }}" aria-label="Permalink">#</a>
|
|
</h{{ .Level }}>
|