From 207f0c33ea5e74a53483a9df1e69c4508197bdd0 Mon Sep 17 00:00:00 2001 From: Heitor Pascoal de Bittencourt Date: Thu, 16 Nov 2023 20:29:42 -0300 Subject: [PATCH] Fix path for colocated image --- templates/macros/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/macros/head.html b/templates/macros/head.html index c1257a5..d882e0c 100644 --- a/templates/macros/head.html +++ b/templates/macros/head.html @@ -37,7 +37,7 @@ {%- set type = "article" %} {%- if page.extra and page.extra.og_image %} {%- if page.colocated_path %} - {%- set og_image = page.colocated_path ~ page.extra.og_image %} + {%- set og_image = page.path ~ page.extra.og_image %} {%- else %} {%- set og_image = page.extra.og_image %} {% endif %}