{{- $ver := .Params.v -}} {{- with page.Params.version -}} {{- if eq $ver . -}} [New in this version] {{- end -}} {{- else -}} [Added in v{{ $ver }}] {{- end -}}