mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Allow selective summary (in list pages) hiding in front matter (#292)
This commit is contained in:
parent
24f71d7f15
commit
ad81825345
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user