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

This commit is contained in:
Mohammad Noor Abu Khleif authored and GitHub committed 2021-03-18 17:46:32 +05:30
1 parent 24f71d7f15
commit ad81825345
1 file changed
+1 -1
+1 -1
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>