{{ $footnotes := `(

)` -}} {{ $footnotesWithHeading := printf `

%s

` "Footnotes" -}} {{ .Content | replaceRE $footnotes $footnotesWithHeading | safeHTML -}}