From ad818253457792f1abc8dd1040b64add908c13dd Mon Sep 17 00:00:00 2001 From: Mohammad Noor Abu Khleif Date: Thu, 18 Mar 2021 14:16:32 +0200 Subject: [PATCH] Allow selective summary (in list pages) hiding in front matter (#292) --- 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 ab98c958..4f286c07 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -49,7 +49,7 @@ {{- if .Draft }}
  [draft]
{{- end }} - {{- if (ne .Site.Params.hideSummary true)}} + {{- if (ne (.Param "hideSummary") true)}}

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