mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
6 lines
222 B
HTML
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>
|