mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-28 08:29:26 -05:00
Hide "..." in list pages when summary is not Truncated
This commit is contained in:
parent
ad81825345
commit
706b5a1c94
@ -51,7 +51,7 @@
|
||||
</header>
|
||||
{{- if (ne (.Param "hideSummary") true)}}
|
||||
<section class="entry-content">
|
||||
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
||||
<p>{{ .Summary | plainify | htmlUnescape }}{{- if .Truncated }}...{{- end -}}</p>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{- if not (.Param "hideMeta") }}
|
||||
|
Loading…
Reference in New Issue
Block a user