mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-08 19:51:06 +01:00
Fix path for colocated image
This commit is contained in:
parent
c99f284681
commit
207f0c33ea
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue