aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-01 22:29:59 -0300
committerEuAndreh <eu@euandre.org>2021-01-01 22:29:59 -0300
commit2cd017fb95508a006441fe70fdeca43ef6ef4c8e (patch)
tree0e9ab438b898364435d33b5f285eb4c6b4cd8a09
parentMove FIXME tags from music/dengoso.ly to TODOs.org (diff)
downloadeuandre.org-2cd017fb95508a006441fe70fdeca43ef6ef4c8e.tar.gz
euandre.org-2cd017fb95508a006441fe70fdeca43ef6ef4c8e.tar.xz
generate-favicon.rb: Let Jekyll know about the new generated file
-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