Add Page Filter

This commit is contained in:
2024-03-09 14:19:00 +01:00
parent 82d0403c88
commit e08f75d849

View File

@@ -42,14 +42,11 @@ const tags = await getTags();
---
<PageLayout title={t("blog.title")}>
<div>
<h2 class="text-xl">Filter</h2>
<div class="py-2">
{tags.map(tag => (
<TagComponent tag={tag} transition:name={`${tag}-tag-filter`} />
))}
</div>
</div>
<hr>
{posts.map((post, index) => (
<div>