{{ define "main" }}

{{ .Title }}

{{ .Content }}
{{ range .Pages }}

{{ .Title }} {{ if .Params.prerelease }} prerelease {{ end }}

{{ if not .Params.prerelease }} {{ if .Fragments.Identifiers.Contains "release-notes" }}
    {{ range (index .Fragments.HeadingsMap "release-notes").Headings }}
  • {{ .Title }}
  • {{ end }}
{{ end }} {{ end }}
{{ end }}
{{ end }}