From 2cd017fb95508a006441fe70fdeca43ef6ef4c8e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 1 Jan 2021 22:29:59 -0300 Subject: generate-favicon.rb: Let Jekyll know about the new generated file --- _plugins/generate-favicon.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/_plugins/generate-favicon.rb b/_plugins/generate-favicon.rb index c4e9c85..71fbb9e 100644 --- a/_plugins/generate-favicon.rb +++ b/_plugins/generate-favicon.rb @@ -11,6 +11,7 @@ module Jekyll unless File.exist? png then puts "Missing '#{png}', generating..." puts `inkscape -o #{png} -w #{SIZE} -h #{SIZE} #{svg}` + site.static_files << Jekyll::StaticFile.new(site, site.source, '', png) end end end -- cgit v1.2.3