Allow SVG images
This commit is contained in:
parent
0adc46acd2
commit
4471a2f3d0
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ do -- Copy blog images
|
||||||
|
|
||||||
iter_files(scaffold.readdir("posts", {files = "lazy"}), function(file)
|
iter_files(scaffold.readdir("posts", {files = "lazy"}), function(file)
|
||||||
local name = file.path:match("[^/]+$")
|
local name = file.path:match("[^/]+$")
|
||||||
if name:find(".jpg$") then
|
if name:find(".jpg$") or name:find(".svg$") then
|
||||||
local path = "/images/" .. name
|
local path = "/images/" .. name
|
||||||
scaffold.deep(output_tree, path, file)
|
scaffold.deep(output_tree, path, file)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue