Change header link text to a small pound sign

This commit is contained in:
Will Faught
2022-12-19 21:38:20 -08:00
parent 45a5aac061
commit 7f8fff96fb
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
{{ if .Scratch.Get "paige_show_full_pages" }}
{{ .Content }}
{{ else }}
{{ .Content | replaceRE `(<h[1-6] id="([^"]+)".+)(</h[1-6]+>)` `${1}<a class="paigeheaderlink" href="#${2}"><i class="bi bi-link-45deg small"></i></a>${3}` | safeHTML }}
{{ .Content | replaceRE `(<h[1-6] id="([^"]+)".+)(</h[1-6]+>)` `${1}<a class="small paigeheaderlink" href="#${2}">#</a>${3}` | safeHTML }}
{{ end }}
</article>
</div>