From 25d7df7f5160e014cc79f4e9e01b525d9ced8d1c Mon Sep 17 00:00:00 2001 From: Tom Wiesing <tkw01536@gmail.com> Date: Sun, 10 Apr 2022 15:34:21 +0200 Subject: [PATCH] Add logos in project lists (closes #12) --- _includes/psitem.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/psitem.html b/_includes/psitem.html index 83439bb..683889a 100644 --- a/_includes/psitem.html +++ b/_includes/psitem.html @@ -4,8 +4,8 @@ {% assign item = include.item %} -<li class="collection-item"> -<!-- XXX improve me {% if item.logo %} <img style="width:100px" src="/{{item.logo}}" alt="{{item.title}} logo"/> {% endif %} --> +<li class="collection-item avatar"> + {% if item.logo %} <img src="/{{item.logo}}" alt="{{item.title}} logo" class="circle" style="border-radius: 0;" /> {% endif %} <a href="{{item.url}}" class="title">{{item.title}}</a> {% if item.funding %} ({{item.funding}}) {% endif %} {% if item.orphan %}<b>(up for adoption)</b>{% endif %} -- GitLab