Allow selective summary (in list pages) hiding in front matter (#292)

This commit is contained in:
Mohammad Noor Abu Khleif 2021-03-18 14:16:32 +02:00 committed by GitHub
parent 24f71d7f15
commit ad81825345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
{{- if .Draft }}<div class="entry-isdraft"><sup>&nbsp;&nbsp;[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>