Allow SVG images

This commit is contained in:
Talia 2025-08-11 21:12:54 +02:00
parent 0adc46acd2
commit 4471a2f3d0
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -63,7 +63,7 @@ do -- Copy blog images
iter_files(scaffold.readdir("posts", {files = "lazy"}), function(file)
local name = file.path:match("[^/]+$")
if name:find(".jpg$") then
if name:find(".jpg$") or name:find(".svg$") then
local path = "/images/" .. name
scaffold.deep(output_tree, path, file)
end