Don't assume image on listing item
This commit is contained in:
parent
1926c73145
commit
693184f7fa
1 changed files with 5 additions and 3 deletions
|
@ -3,9 +3,11 @@
|
|||
<article class="media listing-item">
|
||||
<div class="columns">
|
||||
<figure class="media-left column is-3 image-column">
|
||||
{% if page.hero_image %}
|
||||
<a href="{% pageurl page %}" class="image">
|
||||
<img src="{% image_url page.hero_image 'width-300' %}">
|
||||
</a>
|
||||
{% endif %}
|
||||
</figure>
|
||||
<div class="media-content column">
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue