From abe4cacf174b7c1b9118f43b55222763868a1ff7 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 13 Dec 2025 13:17:00 +0100 Subject: New post, fix issues --- src/layouts/BlogListLayout.astro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/layouts/BlogListLayout.astro') diff --git a/src/layouts/BlogListLayout.astro b/src/layouts/BlogListLayout.astro index 4529e33..dbc7f34 100644 --- a/src/layouts/BlogListLayout.astro +++ b/src/layouts/BlogListLayout.astro @@ -22,7 +22,10 @@ const groupedPosts = blogCollection.reduce( ); // Colección de todas las etiquetas únicas -const allTags = [...new Set(blogCollection.flatMap(post => post.data.tags || []))].sort(); +const allTags = [...new Set(blogCollection + .flatMap(post => post.data.tags || []) + .map(t => t.trim().toLowerCase())) +].sort(); function humaniseDate(date: Date) { const result = date.toLocaleDateString("es-ES", { @@ -74,7 +77,7 @@ const schema = {

Etiquetas

- + {allTags.map((tag) => ( ))} @@ -238,7 +241,7 @@ const schema = { margin-bottom: 1rem; } - > p { + p { line-height: 1.7; margin-bottom: 2rem; } -- cgit v1.3