From eaa2b2734a2b77c2d381822a977ac09032c86801 Mon Sep 17 00:00:00 2001
From: Parker TenBroeck <51721964+ParkerTenBroeck@users.noreply.github.com>
Date: Fri, 23 Jan 2026 09:46:43 -0500
Subject: [PATCH] decreased quality on gallery preview
---
templates/gallery.html | 4 ++--
templates/macros/figures.html | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/gallery.html b/templates/gallery.html
index 54bc640..dae4b8b 100644
--- a/templates/gallery.html
+++ b/templates/gallery.html
@@ -6,9 +6,9 @@
{% for page in section.pages -%}
- {% set image = resize_image(path=page.extra.picture_src, width=260*2, height=180*2, op="fit_width", format="avif") %}
+ {% set image = resize_image(path=page.extra.picture_src, width=260*2, height=180*2, op="fit_width", format="avif", quality=60, speed=4) %}
-
+
{%- endfor %}
diff --git a/templates/macros/figures.html b/templates/macros/figures.html
index 0292365..8734660 100644
--- a/templates/macros/figures.html
+++ b/templates/macros/figures.html
@@ -3,7 +3,7 @@
{# {% set image = resize_image(path=src, height=mdata.height, width=mdata.width, format="webp") %} #}
-
+
{% if caption != "" %}
{{ caption | markdown() | safe }}
{% endif %}