We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529068b commit 0d83b76Copy full SHA for 0d83b76
src/layouts/BlogPost.astro
@@ -5,6 +5,7 @@ import "../styles/shiki-highlight.css"
5
import BaseHead from "../components/BaseHead.astro"
6
import BlogPost from "../components/BlogPost.astro"
7
import BaseTopOfBody from "src/components/BaseTopOfBody.astro"
8
+import path from "path"
9
10
const { content } = Astro.props
11
const {
@@ -20,7 +21,7 @@ const url = Astro.request.url
20
21
22
<html lang={content.lang || "en"}>
23
<head>
- <BaseHead {title} {description} permalink={url} image={`${url}/og.webp`} />
24
+ <BaseHead {title} {description} permalink={url} image={path.join(url, "og.webp")} />
25
</head>
26
27
<body>
0 commit comments