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