test partnerts

This commit is contained in:
2022-07-24 12:05:21 +02:00
parent 1fb28a70e9
commit 75407bd906
7 changed files with 9 additions and 7 deletions

View File

@@ -1,8 +1,10 @@
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
<div class="flex-1">
<a href={{ post.permalink }} class="block">
<a href="{{post.permalink}}" class="block">
<div class="flex-shrink-0">
<img class="h-48 w-full mx-auto object-cover" src=/{{post.extra.imgPath}} alt="" />
{% set url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
<img class="h-48 w-full mx-auto object-cover" src="{{url}}" alt="{{post.title ~ ' Picture'}}" />
</div>
<div class="flex-1 bg-white p-6 flex flex-col justify-between">