|
{{ $footnotes := `(<div class="footnotes" role="doc-endnotes">
|
|
<hr>)` -}}
|
|
{{ $footnotesWithHeading := printf `<div class="footnotes" role="doc-endnotes">
|
|
<hr><p id="footnotes-heading">%s</p>` "Footnotes" -}}
|
|
{{ .Content | replaceRE $footnotes $footnotesWithHeading | safeHTML -}}
|