Browse Source

markdownify in read more parts

master
Eorn 2 years ago
parent
commit
0099b22b26
  1. 4
      layouts/index.html

4
layouts/index.html

@ -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…
Cancel
Save