aboutsummaryrefslogtreecommitdiff
path: root/_plugins/linter.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_plugins/linter.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/_plugins/linter.rb b/_plugins/linter.rb
index f9167e1..f986191 100644
--- a/_plugins/linter.rb
+++ b/_plugins/linter.rb
@@ -172,11 +172,11 @@ module Jekyll
end
end
- check_cover_cmd = "metaflac #{file} --export-picture-to=- | diff - static/favicon.svg"
+ check_cover_cmd = "metaflac #{file} --export-picture-to=- | diff - static/favicon.png"
`#{check_cover_cmd}`
unless $?.success? then
- add_cover_cmd = "metaflac #{file} --import-picture-from='3|image/svg+xml||420x420x24|static/favicon.svg'"
- raise "Cover art from '#{file}' doesn't match 'static/favicon.svg'.\nFix it with:\n\n#{add_cover_cmd}\n\nCheck with:\n #{check_cover_cmd}"
+ add_cover_cmd = "metaflac #{file} --import-picture-from=static/favicon.png"
+ raise "Cover art from '#{file}' doesn't match 'static/favicon.png'.\nFix it with:\n\n#{add_cover_cmd}\n\nCheck with:\n #{check_cover_cmd}"
end
elsif name == 'screencasts' then
stdout = `mediainfo #{file} | awk -F: '/^Movie name/ { print $2 }'`.strip