the repository which powers this website
Diffstat (limited to 'themed/index.html')
-rw-r--r--themed/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themed/index.html b/themed/index.html
index 03c01692..6933898c 100644
--- a/themed/index.html
+++ b/themed/index.html
@@ -34,11 +34,11 @@
{! for (int i = 0; i < cgit_repolist.count; i++) { !}
{! ctx.repo = &cgit_repolist.repos[i]; !}
{! if (!cgit_repolist_is_visible(ctx.repo)) { continue; } !}
- <div>
+ <div{% if i > 0 %} class="border-t border-gray-300 pt-4 mt-4"{% endif %}>
{# Heroicons outline cube #}
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9" /></svg>
</div>
- <div class="pl-2">
+ <div class="{% if i > 0 %}border-t border-gray-300 pt-4 mt-4 {% endif %}pl-2">
{! char *repourl = cgit_repourl(ctx.repo->url); !}
<div><a href="{{ repourl|attr }}" class="text-lg font-semibold text-blue-500 hover:text-blue-600 hover:underline">{{ ctx.repo->name }}</a></div>
{! free(repourl); !}