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