diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro
index 5268de8..016ad67 100644
--- a/src/components/BaseHead.astro
+++ b/src/components/BaseHead.astro
@@ -36,7 +36,7 @@ const imageUrl = image ? new URL(image, Astro.site).toString() : null;
- {date && }
+ {date && }
diff --git a/src/pages/[locale]/[news_slug]/[id].astro b/src/pages/[locale]/[news_slug]/[id].astro
index 58d573f..c4429cf 100644
--- a/src/pages/[locale]/[news_slug]/[id].astro
+++ b/src/pages/[locale]/[news_slug]/[id].astro
@@ -57,6 +57,10 @@ const localeDate = new Intl.DateTimeFormat(locale || "es", {
month: "long",
day: "numeric",
}).format(post.data.date);
+const y = post.data.date.getFullYear();
+const m = String(post.data.date.getMonth() + 1).padStart(2, "0");
+const d = String(post.data.date.getDate()).padStart(2, "0");
+const dateISO = `${y}-${m}-${d}`;
---
diff --git a/src/pages/[news_slug]/[id].astro b/src/pages/[news_slug]/[id].astro
index 994321c..821247f 100644
--- a/src/pages/[news_slug]/[id].astro
+++ b/src/pages/[news_slug]/[id].astro
@@ -31,6 +31,10 @@ const pageUrl = new URL(`/${post.data.locale}/${news_slug}/${post.id}`, baseUrl)
const imageUrl = post.data.thumbnail ? new URL(post.data.thumbnail, baseUrl).toString() : null;
const localeDate = new Intl.DateTimeFormat(post.data.locale || 'es', { year: 'numeric', month: 'long', day: 'numeric' }).format(post.data.date);
+const y = post.data.date.getFullYear();
+const m = String(post.data.date.getMonth() + 1).padStart(2, '0');
+const d = String(post.data.date.getDate()).padStart(2, '0');
+const dateISO = `${y}-${m}-${d}`;
---
@@ -65,7 +69,7 @@ const localeDate = new Intl.DateTimeFormat(post.data.locale || 'es', { year: 'nu
>
)}
-
+
-
-