You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/layouts/shortcodes/changed-in.html

10 lines
252 B
HTML

{{- $ver := .Params.v -}}
{{- with page.Params.version -}}
{{- if eq $ver . -}}
<span><strong>[Changed in this version]</strong></span>
{{- end -}}
{{- else -}}
<span><strong>[Changed in <code>v{{ $ver }}</code>]</strong></span>
{{- end -}}