diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-12-23 14:13:29 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-12-23 14:13:29 +0100 |
| commit | 3013f352570439832075bab19c9ae91ec6ab98ac (patch) | |
| tree | 37052258a5e4d5859ad9024f99cceb9a38047707 /src/pages/blog.astro | |
| parent | 16b7b327d43a3d3a2ab0b6317072136d7df69a3d (diff) | |
Update to astro 5
Diffstat (limited to 'src/pages/blog.astro')
| -rw-r--r-- | src/pages/blog.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 4cfcea3..9d2d77b 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -38,6 +38,7 @@ const schema = { "name": "Ariel Costas",
}
};
+
---
<Layout title="Blog" description="Artículos sobre desarrollo, tecnología y otras temáticas que pueda querer compartir.">
@@ -58,7 +59,7 @@ const schema = { <ul>
{posts.map((post) => (
<li>
- <a href={`/blog/${post.slug}`}>{post.data.title}</a>
+ <a href={`/blog/${post.id}`}>{post.data.title}</a>
</li>
))}
</ul>
|
