Skip to content

Commit

Permalink
use webp
Browse files Browse the repository at this point in the history
  • Loading branch information
NotM32 committed Dec 13, 2024
1 parent 3fbfdc5 commit f7cffff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shortcodes/photo.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% set classes = classes ~ " transition hover:scale-[2]" %}

{% if resize is not defined or resize == true %}
{% set image = resize_image(path=src, op='fit_width', width=600) %}
{% set image = resize_image(path=src, op='fit_width', width=600, format='webp') %}
{% endif %}

<a href="/{{ src }}">
Expand Down

0 comments on commit f7cffff

Please sign in to comment.