From e75609b8a020507c197c647f7db170d3ab4b561c Mon Sep 17 00:00:00 2001 From: scalastic Date: Mon, 10 Jul 2023 14:29:44 +0200 Subject: [PATCH] fix(seo): attempt to adapt images + small fixes --- _layouts/post.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index 7f1fef87..21570003 100755 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,7 +6,13 @@ {% if page.img -%}
- {% picture {{ "/assets/img/" | prepend: site.baseurl | append : page.img}} center --alt {{page.title}} --class page-image %} + {% + picture + top-image-post + {{ "/assets/img/" | prepend: site.baseurl | append : page.img}} 16:9 center + mobile: {{ "/assets/img/" | prepend: site.baseurl | append : page.img}} 4:3 center + --alt {{page.title}} --class page-image + %} {% if page.fig-caption -%}
{{page.fig-caption}}
{%- endif %}