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