2021-03-03 16:29:15 +01:00
|
|
|
{{ $markdown := . | markdownify }}
|
2022-02-21 20:24:27 +01:00
|
|
|
{{ if or (strings.Contains $markdown "<p>") (strings.Contains $markdown "<li>") }}
|
2021-03-03 16:29:15 +01:00
|
|
|
{{ $markdown }}
|
|
|
|
{{ else }}
|
|
|
|
<p>{{ $markdown }}</p>
|
|
|
|
{{ end }}
|