summaryrefslogtreecommitdiff
path: root/examples/blog/src/components/BaseHead.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/components/BaseHead.astro')
-rw-r--r--examples/blog/src/components/BaseHead.astro12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/blog/src/components/BaseHead.astro b/examples/blog/src/components/BaseHead.astro
index 8bc4036a9..f7395b4e3 100644
--- a/examples/blog/src/components/BaseHead.astro
+++ b/examples/blog/src/components/BaseHead.astro
@@ -4,9 +4,9 @@ import "../styles/blog.css";
export interface Props {
title: string;
description: string;
- permalink: string;
}
-const { title, description, permalink } = Astro.props;
+
+const { title, description } = Astro.props;
---
<!-- Global Metadata -->
@@ -21,17 +21,17 @@ const { title, description, permalink } = Astro.props;
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
-<meta property="og:url" content={permalink} />
+<meta property="og:url" content={Astro.canonicalURL} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
-<meta property="og:image" content="https://astro.build/social.png?v=1" />
+<meta property="og:image" content="https://astro.build/social.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
-<meta property="twitter:url" content={permalink} />
+<meta property="twitter:url" content={Astro.canonicalURL} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
-<meta property="twitter:image" content="https://astro.build/social.png?v=1" />
+<meta property="twitter:image" content="https://astro.build/social.png" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" />