2022-04-28 00:20:16 +00:00
|
|
|
{{- with .Parent -}}
|
|
|
|
{{- if eq .Name "quotation" -}}
|
2022-05-09 04:00:36 +00:00
|
|
|
<figcaption>
|
2022-04-28 00:20:16 +00:00
|
|
|
—
|
|
|
|
{{- else if eq .Name "codefigure" -}}
|
|
|
|
Taken from
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2022-04-20 01:06:57 +00:00
|
|
|
<span class="h-cite" itemprop="citation" role="doc-credit">
|
|
|
|
<span itemprop="isPartOf" itemscope itemtype="https://schema.org/{{ .Get "partOfType" }}">
|
|
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
|
|
</span>
|
|
|
|
</span>
|
2022-05-09 04:00:36 +00:00
|
|
|
{{- with .Parent -}}{{ if eq .Name "quotation" }}
|
2022-04-20 01:06:57 +00:00
|
|
|
</figcaption>
|
2022-05-09 04:00:36 +00:00
|
|
|
{{- end -}}
|
|
|
|
{{- end }}
|