diff --git a/lostplaces/lostplaces_app/templates/place/place_list.html b/lostplaces/lostplaces_app/templates/place/place_list.html index 3971247..fe9460b 100644 --- a/lostplaces/lostplaces_app/templates/place/place_list.html +++ b/lostplaces/lostplaces_app/templates/place/place_list.html @@ -24,7 +24,13 @@
-

{{place.description|truncatechars:210|truncatewords:-1}}

+

+ {% if place.description|length > 210 %} + {{place.description|truncatechars:210|truncatewords:-1}} + {% else %} + {{place.description}} + {% endif %} +