updates
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<div class="card h-100 rounded mx-1 my-3" style="width: 400px;">
|
||||
<div class="card-header">
|
||||
{% if content_item.image_file %}
|
||||
<img src="{{ parent_path }}content/{{ content_item.image_file }}" alt="{{ content_item.title }}" class="card-img-top img-fluid mx-auto d-block object-fit-scale rounded" style="max-height: 200px; width: auto;">
|
||||
<img src="{{ parent_path }}static/images/{{ content_item.image_file }}" alt="{{ content_item.title }}" class="card-img-top img-fluid mx-auto d-block object-fit-scale rounded" style="max-height: 200px; width: auto;">
|
||||
{% else %}
|
||||
<img src="static/images/1x1.png" alt="{{ content_item.title }}" class="card-img-top img-fluid mx-auto d-block object-fit-scale rounded" style="height: 200px; width: auto;">
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user