Create paige_content.html
This commit is contained in:
3
layouts/partials/paige_content.html
Normal file
3
layouts/partials/paige_content.html
Normal 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 }}
|
Reference in New Issue
Block a user