markdownify in read more parts
This commit is contained in:
parent
f9418499f1
commit
0099b22b26
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{ if .Description }}
|
{{ if .Description }}
|
||||||
{{ .Description | plainify | safeHTML }}
|
{{ .Description | markdownify | safeHTML }}
|
||||||
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Summary | plainify | safeHTML }}
|
{{ .Summary | markdownify | safeHTML }}
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
<span class="button"><a href="{{ .Permalink }}">{{ i18n "readMore" }}</a></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue