{% if photo %}
<img
src="{{ asset(get_correct_image_path(photo ~ 'thumbnail/source.webp', 'jpg'), 'static') }}"
class="block mx-auto h-[145px] lg:h-[300px] w-auto card-rounded mb-15"
alt=""
>
{% endif %}
{% if source %}
<div class="text-center sm-text-card mb-15">
Zdroj:
{% if link %}
<a
href="{{ link }}"
title="{{ source }}"
target="_blank"
class="hover:underline"
>{{ source }}</a>
{% else %}
{{ source }}
{% endif %}
</div>
{% endif %}