summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2022-11-04 18:56:34 +0100
committerWolfgang Müller2022-11-04 18:56:34 +0100
commit71a942c6e9f04ff26b8404910a8a00adb51d7280 (patch)
tree819f324f150f6530abf272f3e20940dd31966abd
parent806793ed1918a7b3729ab9ab54a0b9883645ec39 (diff)
downloadzunzuncito-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.html2
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 -%}