1
0
mirror of https://github.com/chylex/Blog.git synced 2024-10-17 03:42:48 +02: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