From a0dbaf765431fd4eeba8eca7e4e59ebc47075ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Sun, 20 Aug 2023 22:06:59 +0200 Subject: [PATCH] fix list display --- home/templates/home/home_people_page.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/home/templates/home/home_people_page.html b/home/templates/home/home_people_page.html index 1994ae9..f0ce67b 100644 --- a/home/templates/home/home_people_page.html +++ b/home/templates/home/home_people_page.html @@ -14,15 +14,17 @@ <ul class="flex flex-col gap-2 list-disc ml-3 font-serif"> {% for person in page.people %} - <li class="flex flex-col"> - <a - class="underline" - href="{{ person.url }}" - >{{ person.full_name }}</a> + <li> + <div class="flex flex-col"> + <a + class="underline" + href="{{ person.url }}" + >{{ person.full_name }}</a> - {% if person.position %} - <span class="text-gray-500">{{ person.inline_position }}</span> - {% endif %} + {% if person.position %} + <span class="text-gray-500">{{ person.inline_position }}</span> + {% endif %} + </div> </li> {% endfor %} </ul> -- GitLab