fixed post-content logic in list.html

This commit is contained in:
Alberto Lanfranco 2021-11-10 09:11:18 +01:00 committed by GitHub
parent 9facb58364
commit 1eb3288a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,13 +34,11 @@
<div class="post-content"> <div class="post-content">
{{ if .Params.showFullContent }} {{ if .Params.showFullContent }}
{{ .Content }} {{ .Content }}
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} {{ .Description | markdownify }}
{{ else }} {{ else }}
{{ if .Truncated }} {{ .Summary | markdownify }}
{{ .Summary }}
{{ end }}
{{ end }} {{ end }}
</div> </div>