Fix summery to render only plain text & limit 256 chars

This commit is contained in:
Aroy-Art 2024-09-12 20:17:40 +02:00
parent 2376d33499
commit 7341705fec
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -8,7 +8,7 @@
<div class="content pt-0">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p>{{ .Summary }}</p>
<p>{{ .Plain | htmlUnescape | truncate 256 }}</p>
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a>
</div>
</div>