lib/jekyll-feed.rb in jekyll-feed-0.8.0 vs lib/jekyll-feed.rb in jekyll-feed-0.9.0
- old
+ new
@@ -1,3 +1,10 @@
-require "jekyll/feed_meta_tag"
-require "jekyll/jekyll-feed"
-require "jekyll/page_without_a_file"
+require "jekyll"
+require "fileutils"
+require "jekyll-feed/generator"
+
+module JekyllFeed
+ autoload :MetaTag, "jekyll-feed/meta-tag"
+ autoload :PageWithoutAFile, "jekyll-feed/page-without-a-file.rb"
+end
+
+Liquid::Template.register_tag "feed_meta", JekyllFeed::MetaTag