Fix membership

This commit is contained in:
samaradel
2022-04-20 12:05:03 +02:00
parent 17b4e55db7
commit 523b586db8
34 changed files with 60 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
<div class="flex-1 border-b">
<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="" />
<img class="h-48 w-full mx-auto object-cover" src={{post.extra.imgPath}} alt="" />
</div>
<div class="flex-1 bg-white p-6 flex flex-col justify-between">

View File

@@ -20,6 +20,31 @@
</h1>
<div class="avatars">
<section>
<div class="avatars">
<div class="flex items-center">
<div class="flex justify-between items-center">
<ul class="list-none flex author-list m-0">
{% for member in page.extra.members %}
{% set fullpath = "/people/" ~ member %}
{% set imgpath = "/images/" ~ member ~ "/" ~ member ~ ".jpeg" %}
<li class="author-list-item">
<a href="{{fullpath}}">
<img src="{{imgpath}}" alt="{{member}}" class="
w-8
h-8
rounded-full
bg-gray-200
border-2 border-white
" />
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</section>
<section class="container mx-auto py-2">
<ul class="list-none flex author-list my-2 px-0">
{% if page.extra.websites %}