Create paige_content.html

This commit is contained in:
Will Faught
2022-12-11 17:55:56 -08:00
parent 8d524fe1ac
commit 2678b8b107
3 changed files with 5 additions and 6 deletions

View File

@@ -0,0 +1,3 @@
{{ if .Content }}
{{ .Content | replaceRE `(<h[1-9] id="([^"]+)".+)(</h[1-9]+>)` `${1}<a class="headerlink" href="#${2}"><i class="bi bi-link-45deg small"></i></a>${3}` | safeHTML }}
{{ end }}