fixed post-content logic in index.html
This commit is contained in:
parent
1eb3288a62
commit
14414168d7
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user