Fix path for colocated image

This commit is contained in:
Heitor Pascoal de Bittencourt 2023-11-16 20:29:42 -03:00
parent c99f284681
commit 207f0c33ea
No known key found for this signature in database
GPG key ID: 2DD9C1566E2774A2

View file

@ -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 %}