From 519a8ae94d196962ee4f14650370f017053b14d3 Mon Sep 17 00:00:00 2001
From: Julien Moutinho <julm@sourcephile.fr>
Date: Wed, 8 Jan 2025 22:27:31 +0100
Subject: [PATCH] index: support AVIF as input

---
 index.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.sh b/index.sh
index 5ad5316..96a54fd 100755
--- a/index.sh
+++ b/index.sh
@@ -121,7 +121,7 @@ EOF
     }
     unset dst
     case "$src" in
-      *.jpg|*.JPG)
+      *.jpg|*.JPG|*.avif)
         echo "<li id='$id' class='$wow'><div class='item'>"
         echo "<picture>"
           printf "<source type='image/avif' srcset='"
-- 
2.47.2