{{/* section label: What's new about: The latest releases from the changelog, with a link to all of them. fields: - { name: heading, type: text, default: "What's new" } - { name: collection, type: collection, default: changelog, label: Releases from } - { name: count, type: number, default: 3, label: How many } - { name: notes, type: bool, label: "Show each release's notes", help: Otherwise only its summary. } */}} {{ $c := default "changelog" .Data.collection }}{{ $d := .Data }} {{ with $d.heading }}{{ . }}{{ end }} {{ range limit (default 3 $d.count) (collection $c) }} {{ .Title }} {{ template "release-tags" . }} {{ with .Summary }}{{ . }}{{ end }} {{ if $d.notes }}{{ with .Content }}{{ . }}{{ end }}{{ end }} {{ end }} Every release
{{ . }}
Every release