Sha256: a0bbb46b59633a2166b5e32762b65ed3473db4cb731bcb2d70ca2b1edbe1c0c9

Contents?: true

Size: 316 Bytes

Versions: 11

Compression:

Stored size: 316 Bytes

Contents

module Jekyll
  class Site

    alias_method :_octopod_original_process, :process

    def process
      feeds = Dir["episodes.{???,????}.rss"]
      config.update(
        'episode_feed_formats' => feeds.map { |f| f.match(/episodes\.(\w{3,4})\.rss/)[1] }
      )

      _octopod_original_process
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jekyll-octopod-0.6.7 assets/_plugins/site.rb
jekyll-octopod-0.6.6 assets/_plugins/site.rb
jekyll-octopod-0.6.5 assets/_plugins/site.rb
jekyll-octopod-0.6.4 assets/_plugins/site.rb
jekyll-octopod-0.6.3 assets/_plugins/site.rb
jekyll-octopod-0.6.2 assets/_plugins/site.rb
jekyll-octopod-0.6.1 assets/_plugins/site.rb
jekyll-octopod-0.6.0 assets/_plugins/site.rb
jekyll-octopod-0.5.3 assets/_plugins/site.rb
jekyll-octopod-0.5.1 assets/_plugins/site.rb
jekyll-octopod-0.5.0 assets/_plugins/site.rb