Hide "..." in list pages when summary is not Truncated

This commit is contained in:
Aditya Telange 2021-03-18 18:15:49 +05:30
parent ad81825345
commit 706b5a1c94
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -51,7 +51,7 @@
</header>
{{- if (ne (.Param "hideSummary") true)}}
<section class="entry-content">
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
<p>{{ .Summary | plainify | htmlUnescape }}{{- if .Truncated }}...{{- end -}}</p>
</section>
{{- end }}
{{- if not (.Param "hideMeta") }}