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

1 line
120 B
HTML
Raw Normal View History

2020-04-15 15:48:16 +02:00
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}<a href="#${2}" class="anchor">#</a> ${3}` | safeHTML }}