aboutsummaryrefslogtreecommitdiff
path: root/_plugins/generate-torrent.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-27 23:41:13 -0300
committerEuAndreh <eu@euandre.org>2020-12-27 23:41:13 -0300
commite07ff2a1928be00bb7f7eb7fc82c8447a581c58f (patch)
tree4d0b3b37f73479cfc6d50d19e6f662d7b1ede596 /_plugins/generate-torrent.rb
parentAdd cover art to resources/podcasts/2020-12-19-a-test-entry.flac (diff)
downloadeuandre.org-e07ff2a1928be00bb7f7eb7fc82c8447a581c58f.tar.gz
euandre.org-e07ff2a1928be00bb7f7eb7fc82c8447a581c58f.tar.xz
linter.rb: Add assert_media_metadata
Diffstat (limited to '')
-rw-r--r--_plugins/generate-torrent.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/generate-torrent.rb b/_plugins/generate-torrent.rb
index 1c642f4..a2077bc 100644
--- a/_plugins/generate-torrent.rb
+++ b/_plugins/generate-torrent.rb
@@ -11,7 +11,7 @@ module Jekyll
def generate(site)
site.collections.each do |name, collection|
- if ['podcasts', 'screencasts'].include? name
+ if ['podcasts', 'screencasts'].include? name then
collection.docs.each do |document|
date = document.data['date'].strftime('%Y-%m-%d')
slug = document.data['slug']