diff options
| author | Mohammad Noor Abu Khleif <moh.noor94@gmail.com> | 2021-03-18 14:16:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 17:46:32 +0530 |
| commit | ad818253457792f1abc8dd1040b64add908c13dd (patch) | |
| tree | 0ad44a41ce19e94fad14d097e61b8771eaf650f0 | |
| parent | 24f71d7f15ebad000abad9e940d5113b1408826c (diff) | |
Allow selective summary (in list pages) hiding in front matter (#292)
| -rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ab98c95..4f286c0 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -49,7 +49,7 @@ {{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{- end }} </h2> </header> - {{- if (ne .Site.Params.hideSummary true)}} + {{- if (ne (.Param "hideSummary") true)}} <section class="entry-content"> <p>{{ .Summary | plainify | htmlUnescape }}...</p> </section> |
