fixed post-content logic in index.html

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

View File

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