markdownify in read more parts
This commit is contained in:
parent
f9418499f1
commit
0099b22b26
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue