fix section card image subject location
This commit is contained in:
parent
39f03ee750
commit
5e908d7efb
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
{% for section in sections %}
|
||||
{% if section.image %}
|
||||
#govsection-{{ section.pk }}::after {
|
||||
background-image: url('{% thumbnail section.image 350x150 crop subject_location=instance.picture.subject_location %}');
|
||||
background-image: url('{% thumbnail section.image 350x150 crop subject_location=section.image.subject_location %}');
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue