Skip to content

Commit

Permalink
Allow selective summary (in list pages) hiding in front matter (adity…
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 authored Mar 18, 2021
1 parent 9e4af0d commit bef9a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2>
{{- 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>
Expand Down

0 comments on commit bef9a62

Please sign in to comment.