☰
Debian Codegraph
@
0.45.0-2
0.45.0-1
/
/
internal
/
website
/
layouts
/
partials
/
header-link.html
☽
☼
internal/website/layouts/partials/header-link.html
code
plain
raw
Apache-2.0
2018-2019 The Go Cloud Development Kit Authors
debian/copyright
1
{{- /* https://zwbetz.com/create-header-links-hugo-vs-javascript/ */ -}}
2
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\">)(.+)(</h[2-9]+>)" `${1} ${3}<a class="anchor" href="#${2}" aria-label="Link to Section">🔗</a>${4}` | safeHTML -}}