Skip to content

Commit ad81825

Browse files
authored
Allow selective summary (in list pages) hiding in front matter (#292)
1 parent 24f71d7 commit ad81825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/list.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2>
4949
{{- if .Draft }}<div class="entry-isdraft"><sup>&nbsp;&nbsp;[draft]</sup></div>{{- end }}
5050
</h2>
5151
</header>
52-
{{- if (ne .Site.Params.hideSummary true)}}
52+
{{- if (ne (.Param "hideSummary") true)}}
5353
<section class="entry-content">
5454
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
5555
</section>

0 commit comments

Comments
 (0)