2022-06-29 21:37:38 -07:00
|
|
|
{{ with .Parent -}}
|
|
|
|
{{- $type := "image" -}}
|
|
|
|
{{- with .Get "type" -}}
|
|
|
|
{{- $type = . -}}
|
|
|
|
{{- end -}}
|
2022-04-22 11:48:22 -07:00
|
|
|
<details>
|
2022-06-29 21:37:38 -07:00
|
|
|
<summary>Toggle {{ $type }} <span itemprop="accessibilityFeature">transcript</span></summary>
|
|
|
|
<section id="transcript-{{ .Get "id" }}">
|
|
|
|
<h5>{{ $type | humanize }} transcript</h5>
|
|
|
|
{{- end }}
|
|
|
|
<div itemprop="embeddedTextCaption">
|
|
|
|
{{ .Inner | markdownify | safeHTML }}
|
2022-04-20 17:55:13 -07:00
|
|
|
</div>
|
2022-06-29 21:37:38 -07:00
|
|
|
</section>
|
2022-04-20 17:55:13 -07:00
|
|
|
</details>
|