check for image_url not image
This commit is contained in:
parent
e42e078dcc
commit
39660cd1bb
|
@ -3,7 +3,7 @@
|
|||
{% block content %}
|
||||
{% include "edit.html" %}
|
||||
<div class="large-8 medium-8 columns special-column">
|
||||
{% if content.image %}
|
||||
{% if content.image_url %}
|
||||
<img src="{{ content.image_url }}">
|
||||
{% endif %}
|
||||
<div class="index-text">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% for content in featured %}
|
||||
<div class="large-8 medium-8 columns special-column">
|
||||
{% if content.image %}
|
||||
{% if content.image_url %}
|
||||
<a href="{{ content.get_absolute_url }}"><img src="{{ content.image_url }}"> </a>
|
||||
{% endif %}
|
||||
<div class="index-text">
|
||||
|
|
Loading…
Reference in New Issue
Block a user