modified post summary to use desc if provided
This commit is contained in:
parent
a89f25c400
commit
89357fefec
@ -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 }}…
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if and (.Truncated) (.Site.Params.readMore) }}
|
||||
|
Loading…
Reference in New Issue
Block a user