website/layouts/partials/main/headline-hash.html

1 line
139 B
HTML
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}<a href="#${2}" class="anchor" aria-hidden="true">#</a> ${3}` | safeHTML }}