updates - hidden items

This commit is contained in:
SG
2025-06-11 22:47:41 +03:00
parent 3f832a1af5
commit 21b4066288
2 changed files with 16 additions and 14 deletions

View File

@@ -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="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 }}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;">
{% 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 %}