matrix-spec/layouts/shortcodes/changed-in.html
Kévin Commaille a801f35029
Remove span element from added-in and changed-in shortcodes
It is unnecessary and has no effect.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-10-13 15:09:54 +02:00

10 lines
226 B
HTML

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