From 706b5a1c949a8745ba7669cb2591083d771dbe46 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 18 Mar 2021 18:15:49 +0530 Subject: [PATCH] Hide "..." in list pages when summary is not Truncated --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4f286c07..a1905b5c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -51,7 +51,7 @@ {{- if (ne (.Param "hideSummary") true)}}
-

{{ .Summary | plainify | htmlUnescape }}...

+

{{ .Summary | plainify | htmlUnescape }}{{- if .Truncated }}...{{- end -}}

{{- end }} {{- if not (.Param "hideMeta") }}