{{ define "main" }}
{{ $list := index .Site.Lists .Collection }} {{ with $list }}

{{ .Title }}

{{ end }}

{{ .Title }}

{{ template "release-tags" . }} {{ with .Summary }}

{{ . }}

{{ end }} {{ with .Content }}

What changed

{{ . }}
{{ end }} {{ $newer := false }}{{ $older := false }}{{ $last := false }}{{ $found := false }} {{ range collection .Collection }}{{ if $found }}{{ if not $older }}{{ $older = . }}{{ end }}{{ else if eq .Path $.Path }}{{ $found = true }}{{ $newer = $last }}{{ else }}{{ $last = . }}{{ end }}{{ end }} {{ if or $newer $older }} {{ end }}
{{ end }}