1
0
mirror of https://github.com/chylex/Blog.git synced 2024-11-24 22:42:51 +01:00
Blog/_plugins/custom-feed-xml.rb

12 lines
244 B
Ruby

require "jekyll-feed"
Jekyll.logger.info "Monkey-patching jekyll-feed"
module JekyllFeed
class Generator < Jekyll::Generator
def feed_source_path
@feed_source_path ||= @site.in_source_dir("_layouts", "feed.xml")
end
end
end