diff options
author | EuAndreh <eu@euandre.org> | 2022-04-12 14:06:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-04-12 14:06:23 -0300 |
commit | b29a2ca64a3d0536986693b6ad54b7aea8be7330 (patch) | |
tree | f4f06a2ef5fa9b5e16013cd08117a75f5d223e7c /_plugins/linter.rb | |
parent | _config.yml: Explicitly include .well-known/ directory (diff) | |
download | euandre.org-b29a2ca64a3d0536986693b6ad54b7aea8be7330.tar.gz euandre.org-b29a2ca64a3d0536986693b6ad54b7aea8be7330.tar.xz |
Rename favicon to lord-favicon
Diffstat (limited to '')
-rw-r--r-- | _plugins/linter.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_plugins/linter.rb b/_plugins/linter.rb index 0ccc92d..ad9b38e 100644 --- a/_plugins/linter.rb +++ b/_plugins/linter.rb @@ -151,11 +151,11 @@ module Jekyll end end - check_cover_cmd = "metaflac #{file} --export-picture-to=- | diff - static/favicon.png" + check_cover_cmd = "metaflac #{file} --export-picture-to=- | diff - static/lord-favicon.png" `#{check_cover_cmd}` unless $?.success? then - add_cover_cmd = "metaflac --remove-all #{file}\nmetaflac #{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}" + add_cover_cmd = "metaflac --remove-all #{file}\nmetaflac #{file} --import-picture-from=static/lord-favicon.png" + raise "Cover art from '#{file}' doesn't match 'static/lord-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 |