{{- $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 -}}
