From b03309559b5dff34753d2f2958831298c2da0f3d Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Sun, 4 Feb 2024 20:14:31 -0800 Subject: [PATCH] Use asset_url instead of path for OG image --- source/layouts/layout.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/layouts/layout.html.haml b/source/layouts/layout.html.haml index b7fa90f..14a3977 100644 --- a/source/layouts/layout.html.haml +++ b/source/layouts/layout.html.haml @@ -21,7 +21,7 @@ %meta{ property: 'og:type', content: 'article' } %meta{ property: 'og:url', content: path_to_url(current_page.url) } %meta{ property: 'og:description', content: current_page.data.description } - %meta{ property: 'og:image', content: image_path("keep-a-changelog-opengraph.png") } + %meta{ property: 'og:image', content: image_url("keep-a-changelog-opengraph.png") } = yield_content :og -# Icons