{{/* section label: Episodes about: The latest podcast episodes, each with a player. fields: - { name: heading, type: text, default: Latest episodes } - { name: collection, type: collection, default: episodes, label: Episodes from } - { name: count, type: number, default: 3, label: How many } */}} {{ $c := default "episodes" .Data.collection }} {{ with .Data.heading }}{{ . }}{{ end }} {{ range limit (default 3 .Data.count) (collection $c) }}{{ .Title }}{{ with .Summary }}{{ . }}{{ end }}{{ template "episode-player" . }}{{ end }} Every episode
{{ . }}
Every episode