6 lines
320 B
HTML
6 lines
320 B
HTML
{{ $footnotes := `(<div class="footnotes" role="doc-endnotes">
|
|
<hr>)` -}}
|
|
{{ $footnotesWithHeading := printf `<hr style="display: none;"><div class="footnotes" role="doc-endnotes">
|
|
<p id="footnotes-heading"><strong>%s</strong></p>` "Footnotes" -}}
|
|
{{ .Content | replaceRE $footnotes $footnotesWithHeading | safeHTML -}}
|