{{- $author := .author }} {{- $card := .card }} {{- $content := .content }} {{- $cite := .cite }} {{- $title := .title }} {{- $ref := .ref }} {{- $caption := .caption }}
{{- with or $card $author }}

{{- with $card }} {{ partial "components/author-card.html" . }} {{- else with $author }} {{ . | markdownify }} {{- end -}} wrote:

{{- else }}

Quote:

{{- end }} {{- with $content }}
{{. -}}
{{- end }} {{- if (or $caption $cite) }} {{- end }}