Use `p` elements to separate paragraphs instead of `br` and enforce single paragraphs to be wrapped in `p` for consistency. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
13 lines
346 B
HTML
13 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 -}}
|