From 0e68e395a69e80c40a159c9889c6026fcec59bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=C5=9B?= Date: Sun, 27 Apr 2025 07:36:35 +0200 Subject: [PATCH] Add version to website metatags. --- src/components/BaseHead.astro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 3f667661b..697172ae5 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -5,6 +5,8 @@ interface Props { image?: string; } +const buildTimestamp = import.meta.env.TIMESTAMP; +const gitVersion = import.meta.env.GIT_VERSION; const canonicalURL = new URL(Astro.url.pathname, Astro.site); const { title, description, image = "/social-card.png" } = Astro.props; @@ -15,6 +17,8 @@ const { title, description, image = "/social-card.png" } = Astro.props; + +