You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/layouts/partials/added-in.html

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