lib/bridgetown-sitemap.rb in bridgetown-sitemap-1.2.0 vs lib/bridgetown-sitemap.rb in bridgetown-sitemap-2.0.0
- old
+ new
@@ -2,6 +2,8 @@
require "bridgetown"
require "bridgetown/resource/base"
require "bridgetown-sitemap/builder"
-BridgetownSitemap::Builder.register
+Bridgetown.initializer :"bridgetown-sitemap" do |config|
+ config.builder BridgetownSitemap::Builder
+end