Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -15,6 +17,8 @@ const { title, description, image = "/social-card.png" } = Astro.props;
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="generator" content="Astro" />
<meta name="build-version" content={gitVersion} />
<meta name="build-timestamp" content={buildTimestamp} />
<link rel="sitemap" href="/sitemap-index.xml" />

<meta name="referrer" content="no-referrer-when-downgrade" />
Expand Down
Loading