{{ $body := .Get "text" | default .Inner }}
{{ $class := .Get "class" }}
{{ $citelink := .Get "citelink" }}
{{ $cite := .Get "cite" }}
<blockquote{{ with $class }} class="{{ . }}"{{ end }}{{ with $citelink }} cite="{{ . }}"{{ end }}>
  <p>{{- $body | plainify -}}</p>
  {{ if $citelink }}
    <cite>{{ partial "components/external.html" (dict "href" $citelink "body" $cite) }}</cite>
  {{ else if $cite }}
    <cite>{{ $cite }}</cite>
  {{ else }}
    <cite>N.N.</cite>
  {{ end }}
</blockquote>
