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/added-in.html

10 lines
246 B
HTML

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