Skip to content

Commit

Permalink
Merge pull request #39 from ros-navigation/nvodoor-fix-open-graph
Browse files Browse the repository at this point in the history
Fix Open Graph image link.
  • Loading branch information
nvodoor authored May 31, 2024
2 parents 53f1dc2 + fa0fcf0 commit 201f1a5
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 201f1a5

Please sign in to comment.