Modified PlaceList template to also use thimbnails.
This commit is contained in:
parent
912fb8da50
commit
f41a292a71
@ -7,7 +7,7 @@
|
|||||||
<li class="LP-Place__Item">
|
<li class="LP-Place__Item">
|
||||||
<a href="{% url 'place_detail' pk=place.pk %}" class="LP-Link">
|
<a href="{% url 'place_detail' pk=place.pk %}" class="LP-Link">
|
||||||
<article class="LP-Place">
|
<article class="LP-Place">
|
||||||
<img class="LP-Place__Image" src="{{ place.images.first.filename.url }}" />
|
<img class="LP-Place__Image" src="{{ place.images.first.filename.url_thumbnail }}" />
|
||||||
<div class="LP-Place__Assets">
|
<div class="LP-Place__Assets">
|
||||||
<div class="LP-Place__Info">
|
<div class="LP-Place__Info">
|
||||||
<h3 class="LP-Place__Title">{{place.name}}</h3>
|
<h3 class="LP-Place__Title">{{place.name}}</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user