{{/* section
label: Latest videos
about: The newest videos from the video library, with their posters.
fields:
- { name: heading, type: text, default: Latest videos }
- { name: collection, type: collection, default: videos, label: Videos from }
- { name: count, type: number, default: 3, label: How many }
*/}}
{{ $c := default "videos" .Data.collection }}
{{ with .Data.heading }}
{{ . }}
{{ end }}
{{ range limit (default 3 .Data.count) (collection $c) }}{{ template "video-card" . }}{{ end }}
Every video