Sha256: f9373521b0dd00bb3eae5d9b529a33bc11076ff643ae26b9dae3f4d264b7cf7c

Contents?: true

Size: 380 Bytes

Versions: 44

Compression:

Stored size: 380 Bytes

Contents

module Jekyll
  class PodcastPlayerPageGenerator < Generator
    safe true

    def generate(site)
      if site.layouts.key? 'player_index'
        dir =  site.config['players_dir'] || 'players'
        site.posts.docs.each do |post|
          site.pages << PodcastPlayerPage.new(site, site.source, File.join(dir, post.data['slug']), post)
        end
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
jekyll-octopod-0.9.23 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.22 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.21 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.20 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.19 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.18 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.17 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.15 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.14 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.13 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.12 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.11 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.10 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.9 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.8 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.7 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.6 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.5 lib/jekyll/podcast_player_page_generator.rb
jekyll-octopod-0.9.4 lib/jekyll/podcast_player_page_generator.rb
octopod-exe-0.9.4 lib/jekyll/podcast_player_page_generator.rb