markdownify in read more parts

This commit is contained in:
Eorn 2020-11-13 10:08:49 +01:00
parent f9418499f1
commit 0099b22b26

View file

@ -19,10 +19,10 @@
<div class="post-content">
{{ if .Description }}
{{ .Description | plainify | safeHTML }}
{{ .Description | markdownify | safeHTML }}
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
{{ else }}
{{ .Summary | plainify | safeHTML }}
{{ .Summary | markdownify | safeHTML }}
{{ if .Truncated }}
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
{{ end }}