diff options
author | Wolfgang Müller | 2022-11-04 18:56:34 +0100 |
---|---|---|
committer | Wolfgang Müller | 2022-11-04 18:56:34 +0100 |
commit | 71a942c6e9f04ff26b8404910a8a00adb51d7280 (patch) | |
tree | 819f324f150f6530abf272f3e20940dd31966abd | |
parent | 806793ed1918a7b3729ab9ab54a0b9883645ec39 (diff) | |
download | zunzuncito-71a942c6e9f04ff26b8404910a8a00adb51d7280.tar.gz |
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 <figure> element.
-rw-r--r-- | templates/shortcodes/img.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%} <figure> {% else -%} |