Shorted descriptions output in PlaceList so that it ends after a whole word.

This commit is contained in:
Marcus Scholz 2020-07-28 18:34:14 +02:00
parent 045f18bd83
commit 2a29e3a7a4

View File

@ -14,7 +14,7 @@
<p class="LP-Place__Detail">{{place.location}}</p>
</div>
<p class="LP-TextSection LP-Place__Description">
{{place.description}}
{{place.description|truncatechars:250|truncatewords:-1}}
</p>
<ul class="LP-Icon__List">