Skip to content

Commit

Permalink
Fix Open Graph image link.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Vodoor authored and Neil Vodoor committed May 31, 2024
1 parent 53f1dc2 commit fa0fcf0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ export interface Props {
title: string;
}
const resolvedImageWithDomain = new URL(
"/web_img.jpeg",
Astro.site
).toString();
const makeTitle = "Nav2 Navigation System";
---

Expand All @@ -34,7 +39,7 @@ const makeTitle = "Nav2 Navigation System";
url: "http://nav2.org",
type: "website",
title: `Nav2 - Nav2 1.0.0 documentation`,
image: "nav2.ico",
image: resolvedImageWithDomain,
},
image: {
alt: "Open Navigation Homepage Screenshot",
Expand Down

0 comments on commit fa0fcf0

Please sign in to comment.