theme/layouts/partials/headline-hash.html

2 lines
150 B
HTML
Raw Normal View History

2022-01-26 21:10:57 +00:00
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" "${1}&nbsp;<a class=\"text-primary no-underline\" href=\"#${2}\">#</a> ${3}" | safeHTML }}