{{- if not (.Page.Store.Get "asciinema") -}} {{- /* remove whitespaces */ -}} {{- /* remove whitespaces */ -}} {{- /* remove whitespaces */ -}} {{- .Page.Store.Set "asciinema" true -}} {{- end -}} {{- with (partial "docs/links/portable-image" (dict "Page" .Page "Destination" (index .Params "cast"))) -}} {{- $opts := newScratch -}} {{- $opts.Set "asciinema" $.Params -}} {{- $opts.DeleteInMap "asciinema" "cast" -}}
{{- end -}}