{{ $file := .Get "file" }}
{{- $cast := resources.Get (print "recordings/" $file ".cast") -}} {{- if .Get "instructions" -}} {{- $instructions_file := print "recordings/" $file "_instructions.json" -}} {{ $data := resources.Get $instructions_file | transform.Unmarshal }}

Video Content

{{- range $instr := $data -}} {{ $instr.instruction | markdownify }} {{ int $instr.time_from | dateFormat "04:05" }} {{- end -}}
{{- end -}}