Change dimensions of embed image

main
trivernis 1 year ago
parent 7c725414fa
commit 3f9f5d1b19
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -6,7 +6,7 @@
<title>{{ page.title }} - Plant Wiki</title> <title>{{ page.title }} - Plant Wiki</title>
<meta name="description" content="Information about {{ page.title }} ({{ data.bin_name }})" /> <meta name="description" content="Information about {{ page.title }} ({{ data.bin_name }})" />
{% set image = resize_image(path=data.image.url, width=512, height=255) %} {% set image = resize_image(path=data.image.url, width=255, height=255) %}
<meta name="og:image" content="{{ image.url }}" /> <meta name="og:image" content="{{ image.url }}" />
<meta name="og:image:alt" content="{{ data.image.alt }}" /> <meta name="og:image:alt" content="{{ data.image.alt }}" />
{% endblock meta %} {% endblock meta %}

Loading…
Cancel
Save