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