{{- $html := .Content | string -}} {{- with .Params.abstract -}} {{- $html = printf "%s%s" $html (partialCached "page-abstract.html" $ $.Path $.Language.Lang) -}} {{- end -}} {{- $references := slice -}} {{- range findRESubmatch `` $html -}} {{- $references = $references | append (index . 1 | base64Decode | transform.Unmarshal) -}} {{- end -}} {{- return $references -}}