{{ $datapath := (split (.Get "card") "/") }} {{ $author := .Page.Site.Data.people }} {{ range $datapath }} {{ $author = index $author . }} {{ end }} {{ $content := .Page.RenderString (dict "display" "block") .Inner }} {{ $cite := .Get "cite" }} {{ $name := .Get "name" }} {{ $caption := .Get "caption" }} {{ $opts := dict "ctx" . "author" $author "content" $content "cite" $cite "name" $name "caption" $caption }} {{ partial "mf2/h-cite.html" $opts }}