docs-matrix-spec/layouts/shortcodes/changelog/changelog-description.html
Andrew Morgan ff2c93af1c Use changelogs/release.yaml for the version number source everywhere (#3310)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2021-08-27 19:17:17 +01:00

19 lines
532 B
HTML

{{/*
This template is used to provide different content for the unstable spec
version and for a versioned release.
*/}}
{{ $status := .Site.Params.version.status }}
{{ if eq $status "unstable"}}
<p>This is the <strong>unstable</strong> version of the Matrix specification.</p>
<p>This changelog lists changes made since the last release of the specification.</p>
{{ else }}
<p>This is version <strong>v{{ .Site.Params.version.major }}.{{ .Site.Params.version.minor }}</strong> of the Matrix specification.</p>
{{ end }}