remove tags from article header (#6)

This commit is contained in:
Troy 2024-12-28 16:19:26 +00:00 committed by GitHub
parent 01f721f938
commit 4487fb0945
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 50 additions and 68 deletions

View file

@ -10,13 +10,15 @@ const { collection } = Astro.props;
<li>
<a
class="bg-none hover:bg-tertiary/30"
class="group bg-none hover:bg-tertiary/30"
href={`/${collection.collection}/${collection.slug}`}
>
<article class="flex flex-col">
<h3 class="mb-3 text-balance text-xl font-semibold">
<span title="Title" class="text-secondary">{collection.data.title}</span
><span title="Description" class="ml-2 text-tertiary"
><span
title="Description"
class="ml-2 text-tertiary transition-colors group-hover:text-accent"
>{collection.data.description}</span
>
</h3>