Typo: change ariaLabel to aria-label

This commit is contained in:
Rohan Kumar
2022-09-27 13:56:54 -07:00
parent 1610962731
commit 7e552cfc27

View File

@ -40,7 +40,7 @@
<div class="post-content">
{{- with .Content -}}
<div>
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor">&#8983;</a> ${3}` | safeHTML }}
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" aria-label="Anchor">&#8983;</a> ${3}` | safeHTML }}
</div>
{{- end -}}
</div>