fixes to accomodate news post without image

This commit is contained in:
timurgordon
2023-01-04 10:21:36 +03:00
parent b37690ec82
commit e765e1a1d2
7 changed files with 34 additions and 22 deletions

View File

@@ -31,7 +31,9 @@
</div>
<div class="-mx-4 relative lg:mt-0 max-w-full">
{% if featured.extra.imgPath %}
<img class="relative mx-auto w-7/12 md:w-auto md:max-w-full max-h-80" src={{featured.permalink}}{{featured.extra.imgPath}} alt="" />
{% endif %}
</div>
</div>
<hr class="mt-6">