mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +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