7 lines
227 B
HTML
7 lines
227 B
HTML
{%- if page.extra.banner -%}
|
|
{%- set card = resize_image(path=page.colocated_path ~ page.extra.banner, width=1200, height=628, op="fill") -%}
|
|
{{ card.url }}
|
|
{%- else -%}
|
|
{{ get_url(path='card.png') }}
|
|
{%- endif -%}
|