From ba24471e6ce272c43855845f4fda4c8906f00556 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 6 Oct 2021 22:21:14 +0200 Subject: [PATCH] =?UTF-8?q?Zpracov=C3=A1n=C3=AD=20obr=C3=A1zk=C5=AF=20dle?= =?UTF-8?q?=20verze=20Zola=200.14.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit viz https://github.com/getzola/zola/blob/master/CHANGELOG.md#0140-2021-07-19 --- templates/macros.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/macros.html b/templates/macros.html index a6245ca..35fe358 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -178,7 +178,8 @@ {% break %} {% endif %} {% endfor %} - {{ profile.title }} + {% set image = resize_image(path=img, width=128, height=128, op="fill") %} + {{ profile.title }} {% endmacro %} {% macro profile_info(profile) %} @@ -208,7 +209,8 @@ @@ -229,7 +231,8 @@ {% endif %} {% endfor %} {% endif %} - {{ gallery.title }} + {% set image = resize_image(path=img, width=300, height=200, op="fill") %} + {{ gallery.title }}
{{ gallery.title }}