1
0
mirror of https://github.com/Wonderfall/hugo-WonderMod.git synced 2025-03-15 06:05:19 +01:00

3 lines
207 B
HTML
Raw Normal View History

<!-- formats .Content headings by adding an anchor -->
{{ . | replaceRE "(<h[1-6] id=\"([^\"]+)\".+)(</h[1-6]+>)" "${1}<a hidden class=\"anchor\" aria-hidden=\"true\" href=\"#${2}\">#</a>${3}" | safeHTML }}