Sha256: 7d8422859a02321bc3adbc31e46fbf1e352fd2dfc81bda0ffa9743c64492ff69
Contents?: true
Size: 279 Bytes
Versions: 20
Compression:
Stored size: 279 Bytes
Contents
module Jekyll module UpdateConfig Jekyll::Hooks.register :site, :after_init do |site| feeds = Dir["episodes.{???,????}.rss"] site.config.update( 'episode_feed_formats' => feeds.map { |f| f.match(/episodes\.(\w{3,4})\.rss/)[1] } ) end end end
Version data entries
20 entries across 20 versions & 1 rubygems