diff options
author | 2021-11-19 16:13:38 -0800 | |
---|---|---|
committer | 2021-11-19 16:13:38 -0800 | |
commit | 37a20c9ad488e12ade2b13f14aee72cc30e38415 (patch) | |
tree | 03a9116cd0a62297d6261dea09d9ffc8e7f2c205 /www/src | |
parent | 41ada7a1a00d1b9bb9eceabf144592da102fe911 (diff) | |
download | astro-37a20c9ad488e12ade2b13f14aee72cc30e38415.tar.gz astro-37a20c9ad488e12ade2b13f14aee72cc30e38415.tar.zst astro-37a20c9ad488e12ade2b13f14aee72cc30e38415.zip |
fix social og image
Diffstat (limited to 'www/src')
-rw-r--r-- | www/src/pages/blog/[slug].astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/src/pages/blog/[slug].astro b/www/src/pages/blog/[slug].astro index bdf35d1e5..95c1230d0 100644 --- a/www/src/pages/blog/[slug].astro +++ b/www/src/pages/blog/[slug].astro @@ -17,7 +17,7 @@ const { Content, title, author, description, publishDate, heroImage, heroImageAl <html lang={lang ?? 'en'}> <head> - <BaseHead title={title} description={description} canonicalURL={permalink} image={socialImage} /> + <BaseHead title={title} description={description} canonicalURL={permalink} image={socialImage && `https://astro.build${socialImage}`} /> <link rel="stylesheet" href={Astro.resolve('../../scss/blog.scss')} /> </head> <body> |