From 30f0209eec2e3276b3141adfcbc80b723109b5ef Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Jan 2022 15:17:17 -0300 Subject: _plugins/generate-favicon.rb: Make the background of the PNG white --- _plugins/generate-favicon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_plugins') diff --git a/_plugins/generate-favicon.rb b/_plugins/generate-favicon.rb index 08de8b2..ee443a3 100644 --- a/_plugins/generate-favicon.rb +++ b/_plugins/generate-favicon.rb @@ -10,7 +10,7 @@ module Jekyll png = 'static/favicon.png' unless File.exist? png then puts "Missing '#{png}', generating..." - puts `inkscape -o #{png} -w #{SIZE} -h #{SIZE} #{svg}` + puts `inkscape -o #{png} -w #{SIZE} -h #{SIZE} -b white #{svg}` site.static_files << Jekyll::StaticFile.new(site, site.source, '', png) end -- cgit v1.2.3