From 201ef736392840310018c29b2656fff7ce5d74ee Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 4 Apr 2021 17:03:26 +0200 Subject: [PATCH] Accidently removed place url --- .../lostplaces/templates/partials/place_teaser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_lostplaces/lostplaces/templates/partials/place_teaser.html b/django_lostplaces/lostplaces/templates/partials/place_teaser.html index 9c8d3db..792539a 100644 --- a/django_lostplaces/lostplaces/templates/partials/place_teaser.html +++ b/django_lostplaces/lostplaces/templates/partials/place_teaser.html @@ -3,7 +3,7 @@
{% if place.placeimages.all|length > 0 %} - {% include 'partials/image.html' with source_url=place.placeimages.first.filename.thumbnail.url %} + {% include 'partials/image.html' with source_url=place.placeimages.first.filename.thumbnail.url link_url=place.get_absolute_url%} {% else %} {% endif %}