matrix-spec/layouts/_partials/added-in.html
2025-08-27 07:35:57 +01:00

14 lines
346 B
HTML

{{ $ver := .v -}}
{{ $this := .this -}}
{{/*
This differs from the shortcode added-in by wanting to be a block instead of inline
and by slightly altering the rendered text as a result.
*/}}
{{ if $this -}}
<p><strong>New in this version.</strong></p>
{{ else -}}
<p><strong>Added in <code>v{{ $ver }}</code></strong></p>
{{ end -}}