aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_plugins/generate-favicon.rb1
1 files changed, 1 insertions, 0 deletions
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