ensure image from gallery is displayed
This commit is contained in:
parent
444bfa339a
commit
b3c1b00ae8
13 changed files with 29 additions and 23 deletions
|
@ -145,9 +145,9 @@
|
|||
<div class="col-12 col-md-6 col-lg-4 mb-30">
|
||||
<div class="card {% if article.is_featured %}card-featured{% endif %} h-100 d-flex flex-column clickable-card"
|
||||
onclick="cardClicked(event, '{{ article.get_absolute_url }}')">
|
||||
{% if article.image or article.is_featured %}
|
||||
{% if article.get_image or article.is_featured %}
|
||||
<div class="d-flex justify-content-between mb-3">
|
||||
{% if article.image %}
|
||||
{% if article.get_image %}
|
||||
<div class="card__image flex-shrink-0">
|
||||
<img src="{{ article.get_image.url }}" alt="{{ article.title }}" class="img-fluid">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue