aboutsummaryrefslogtreecommitdiff
path: root/_plugins
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-28 11:05:02 -0300
committerEuAndreh <eu@euandre.org>2020-12-28 12:36:32 -0300
commit75fe4f08cfe0ec4ffb09235d2e243507a0b2d767 (patch)
tree6d929c44e4b0e8439c8521c532d8f376f3a959c3 /_plugins
parentAdd direct-video flag (diff)
downloadeuandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.gz
euandre.org-75fe4f08cfe0ec4ffb09235d2e243507a0b2d767.tar.xz
Use WebM over MKV
Diffstat (limited to '_plugins')
-rw-r--r--_plugins/generate-torrent.rb2
-rw-r--r--_plugins/linter.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/_plugins/generate-torrent.rb b/_plugins/generate-torrent.rb
index a2077bc..0c4cd72 100644
--- a/_plugins/generate-torrent.rb
+++ b/_plugins/generate-torrent.rb
@@ -6,7 +6,7 @@ module Jekyll
MEDIA_EXTENSION = {
'podcasts' => 'ogg',
- 'screencasts' => 'mkv'
+ 'screencasts' => 'webm'
}
def generate(site)
diff --git a/_plugins/linter.rb b/_plugins/linter.rb
index c0059c9..94ebc67 100644
--- a/_plugins/linter.rb
+++ b/_plugins/linter.rb
@@ -107,9 +107,9 @@ module Jekyll
end
if name == 'screencasts' then
- mkv = "resources/screencasts/#{date}-#{slug}.mkv"
- unless File.exist? mkv then
- raise "Missing MKV file '#{mkv}'"
+ webm = "resources/screencasts/#{date}-#{slug}.webm"
+ unless File.exist? webm then
+ raise "Missing WebM file '#{webm}'"
end
end
end