+ {post.frontmatter.titulo} +
++ {post.frontmatter.descripcion} +
+diff --git a/package.json b/package.json index f7b9e8a..4c51b54 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "websostenible", "type": "module", - "version": "0.1.3", + "version": "0.2.0", "scripts": { "dev": "astro dev", "devhost": "astro dev --host", diff --git a/src/components/ListadoPostsHorizontal.astro b/src/components/ListadoPostsHorizontal.astro index 7aa0c3d..b4f2325 100644 --- a/src/components/ListadoPostsHorizontal.astro +++ b/src/components/ListadoPostsHorizontal.astro @@ -1,5 +1,5 @@ --- -const posts = await Astro.glob("../pages/posts/*.md"); +const posts = await Astro.glob("../pages/posts/*.mdx"); ---
Explora nuestros artículos sobre sostenibilidad y desarrollo
++ {post.frontmatter.descripcion} +
+