diff options
author | EuAndreh <eu@euandre.org> | 2021-01-01 22:29:59 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-01 22:29:59 -0300 |
commit | 2cd017fb95508a006441fe70fdeca43ef6ef4c8e (patch) | |
tree | 0e9ab438b898364435d33b5f285eb4c6b4cd8a09 | |
parent | Move FIXME tags from music/dengoso.ly to TODOs.org (diff) | |
download | euandre.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.rb | 1 |
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 |