{{ range sort $.Site.Data.changelog "Index" "desc" }}{{ $latest := index (sort $.Site.Data.changelog "Index" "desc") 0 }}

## {{- if and ( isset $.Site.Data "changelogi18n" ) ( isset $.Site.Data.changelogi18n $.Page.Language.Lang ) ( isset ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) "Name" ) -}} {{ ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Name }} {{- else -}} {{ .Name }} {{- end -}} {{ .Date }} {{ if eq .Status "Yanked" }}{{ T "ChangelogPage.Status.Yanked" }}{{ end }} {{ if eq $latest.Index .Index }}{{ T "ChangelogPage.Status.Latest" }}{{ end }} ¶

{{ if isset . "Highlights" }}
{{ if isset .Highlights "ImagePath" }}

#### {{ T "ChangelogPage.Highlights.Title" }}

{{- if and ( isset $.Site.Data "changelogi18n" ) ( isset $.Site.Data.changelogi18n $.Page.Language.Lang ) ( isset ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) "Highlights" ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights "Description" ) -}} {{ ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights.Description | markdownify }} {{- else -}} {{ .Highlights.Description | markdownify }} {{- end -}}
{{ else if isset .Highlights "YouTubeID" }}
{{ partial "youtube" (dict "id" .Highlights.YouTubeID ) }}

#### {{ T "ChangelogPage.Highlights.Title" }}

{{- if and ( isset $.Site.Data "changelogi18n" ) ( isset $.Site.Data.changelogi18n $.Page.Language.Lang ) ( isset ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) "Highlights" ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights "Description" ) -}} {{ ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights.Description | markdownify }} {{- else -}} {{ .Highlights.Description | markdownify }} {{- end -}}
{{ else }}

#### {{ T "ChangelogPage.Highlights.Title" }}

{{- if and ( isset $.Site.Data "changelogi18n" ) ( isset $.Site.Data.changelogi18n $.Page.Language.Lang ) ( isset ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ) "Highlights" ) ( isset ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights "Description" ) -}} {{ ( index ( index $.Site.Data.changelogi18n $.Page.Language.Lang ) .Version ).Highlights.Description | markdownify }} {{- else -}} {{ .Highlights.Description | markdownify }} {{- end -}}
{{ end }}
{{ end }}
{{ .Entry | markdownify }}

### {{ T "ChangelogPage.Links.Title" }}

{{ if isset . "Links" }}{{ range .Links }}
- {{ T .StringKey }}
{{ end }}{{ end }}
- {{ T "ChangelogPage.Links.ReleaseGitHub" }}
- {{ T "ChangelogPage.Links.RepoState" }}
{{ if gt .Index 1 }}
- {{ T "ChangelogPage.Links.CommitsMade" }}
{{ end }}

{{ end }}