matrix-spec/layouts/_shortcodes/changed-in.html

10 lines
226 B
HTML
Raw Permalink Normal View History

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