diff --git a/layouts/partials/processed-content.html b/layouts/partials/processed-content.html index 5391f6c..125333e 100644 --- a/layouts/partials/processed-content.html +++ b/layouts/partials/processed-content.html @@ -3,12 +3,16 @@ {{ $references := `(

)` -}} {{ $heading := .Params.footnote_heading -}} -{{ $referencesWithHeading := printf `
+{{ $referencesWithHeading := printf `

%s

` ($heading) -}} {{ $endnote := `(role="doc-endnote")` }} {{ $noEndnote := printf "" }} -{{ .Content | replaceRE $references $referencesWithHeading | replaceRE $endnote $noEndnote | safeHTML -}} + +{{ $preWithTabIndex := `
` }}
+{{ $preWithoutTabIndex := `
` }}
+
+{{ .Content | replaceRE $references $referencesWithHeading | replaceRE $endnote $noEndnote | replaceRE $preWithTabIndex $preWithoutTabIndex | safeHTML -}}
 {{ else -}}
 {{ .Content -}}
 {{ end -}}