modified post summary to use desc if provided

This commit is contained in:
Quentin Baker 2021-10-12 14:46:36 -04:00
parent a89f25c400
commit 89357fefec

View File

@ -6,7 +6,11 @@
{{ if not .Site.Params.disableSummary }}
<div class="content post-summary p-summary">
{{ .Summary | safeHTML }}
{{ if isset .Params "description" }}
{{ .Description }}
{{ else }}
{{ .Summary }}&hellip;
{{ end }}
</div>
{{ end }}
{{ if and (.Truncated) (.Site.Params.readMore) }}