aboutsummaryrefslogtreecommitdiff
path: root/_plugins/generate-torrent.rb
diff options
context:
space:
mode:
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']