Fixed: Load logo in slider
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2021-10-31 09:52:28 +01:00
parent 3b8cffec2a
commit 1ba46f7532
1 changed files with 7 additions and 2 deletions

View File

@ -11,7 +11,12 @@
<div data-dest="img"></div>
{% endif %}
<div class="flex items-end justify-between px-6 py-3 bg-gray-100">
{% if __SELF__.logo %} <img data-src="{{__SELF__.logo|media}}" class="w-8"> {% endif %}
{% if __SELF__.logo %}
<script type="text/html" data-lazy data-src="logo">
<img src="{{__SELF__.logo|media}}" class="w-8">
</script>
<div data-dest="logo"></div>
{% endif %}
<div class="text-xs text-gray-500">{{post.created_at | human}}</div>
</div>
<div class="flex-grow p-6 pt-0 text-sm text-gray-600 bg-gray-100">