Files
site/themes/minimo/layouts/partials/entry/content.html
2022-12-11 22:35:33 -05:00

6 lines
222 B
HTML

<div class='container entry-content'>
{{- with .Content -}}
{{ . | replaceRE "(<h[2-4] id=\"([^\"]+)\".+)(</h[2-4]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor">#</a>${3}`| safeHTML }}
{{- end -}}
</div>