Skip to content

Commit

Permalink
whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Jun 11, 2024
1 parent 8262dd9 commit 8be25c4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/_plugins/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@ def generate(site)
site.data['sessions_bytag'] = Hash.new { Array.new }
site.data['sessions'].each{|k, v|
# For each session we have some videos:
tags = v['videos'].map{|video|
p ">> #{video}"
p ">>> #{site.data['videos'][video]}"
site.data['videos'][video]['tags'] }.flatten.uniq
tags = v['videos'].map{|video| site.data['videos'][video]['tags'] }.flatten.uniq
tags.each{|tag|
if ! site.data['sessions_bytag'].has_key? tag
site.data['sessions_bytag'][tag] = {}
Expand Down

0 comments on commit 8be25c4

Please sign in to comment.