Change all header text to be linked

This commit is contained in:
Will Faught
2025-03-04 16:45:57 -08:00
parent 1774b7ac85
commit 91920613a8
3 changed files with 4 additions and 25 deletions

View File

@@ -0,0 +1,3 @@
<h{{ .Level }} id="{{ .Anchor }}" {{ range $k, $v := .Attributes }} {{ printf `%s="%s"` $k $v | safeHTMLAttr }} {{ end }}>
<a aria-label="{{ i18n "paige_link_to_this_section" }}" class="text-body text-decoration-none" href="#{{ .Anchor }}">{{ .Text }}</a>
</h{{ .Level }}>