diff --git a/src/layouts/PostStyle.astro b/src/layouts/PostStyle.astro index 0916ba3..1386ca5 100644 --- a/src/layouts/PostStyle.astro +++ b/src/layouts/PostStyle.astro @@ -1,6 +1,5 @@ --- // src/layouts/PostLayout.astro -import { getHeadings } from '../utils/getHeadings'; // Asumimos que crearemos esta utilidad import RelatedPosts from '../components/PostsRelacionados.astro'; // Componente para posts relacionados import Navbar from '../components/Navbar.astro'; import Footer from '../components/Footer.astro'; @@ -48,7 +47,7 @@ const linkedinShareUrl = `https://www.linkedin.com/shareArticle?mini=true&url=${ "headline": "${frontmatter.titulo}", "image": "${frontmatter.imagen && new URL(frontmatter.imagen, Astro.site)}", "datePublished": "${frontmatter.fecha}", - "dateModified": "${frontmatter.lastModified || frontmatter.fecha}", + "dateModified": "${frontmatter.fecha}", "author": { "@type": "Person", "name": "${frontmatter.autor}" @@ -154,7 +153,7 @@ const linkedinShareUrl = `https://www.linkedin.com/shareArticle?mini=true&url=${
-