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">

View File

@@ -4,7 +4,7 @@
<div class="container sm:pxi-0 mx-auto overflow-x-hidden pt-16 lg:w-4/6">
<div class="flex flex-row flex-wrap items-center mx-4 sm:mx-0">
<div class="w-full md:w-1/6 mx-auto sm:mx-0">
<img src="/{{ page.extra.partner_logo }}" class="
<img src="{{page.extra.imgPath}}" class="
rounded-full
bg-gray-200
w-32