mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-09-17 15:02:41 +02:00
Fix path for colocated image
This commit is contained in:
parent
c99f284681
commit
207f0c33ea
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue