From 71a942c6e9f04ff26b8404910a8a00adb51d7280 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 4 Nov 2022 18:56:34 +0100 Subject: templates: Increase default width for img shortcode This should make sure that the picture takes all of the available space in the post since the earlier value of 500px was too small to fill the entire
element. --- templates/shortcodes/img.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/shortcodes/img.html') diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index d57e54e..6024d05 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -1,5 +1,5 @@ {% set url = page.path ~ path | trim_start_matches(pat="/") -%} -{% set image = resize_image(path=url, width=width | default(value=500), op="fit_width", format=format | default(value="jpg")) -%} +{% set image = resize_image(path=url, width=width | default(value=700), op="fit_width", format=format | default(value="jpg")) -%} {% if not float -%}
{% else -%} -- cgit v1.2.3-2-gb3c3