modified post summary to use desc if provided
This commit is contained in:
parent
a89f25c400
commit
89357fefec
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue