def register_custom_pages
      options.custom_collections.each do |property, options|
        @app.ignore options[:template]

        @custom_pages[property] = Blog::CustomPages.new(property, @app, self, options)
        @app.sitemap.register_resource_list_manipulator(:"blog_#{name}_#{property}", @custom_pages[property])

        Blog::Helpers.generate_custom_helper(property)
      end
    end
def register_custom_pages
      options.custom_collections.each do |property, options|
        @app.ignore options[:template]

        @custom_pages[property] = Blog::CustomPages.new(property, @app, self, options)
        @app.sitemap.register_resource_list_manipulator(:"blog_#{name}_#{property}", @custom_pages[property])

        Blog::Helpers.generate_custom_helper(property)
      end
    end
Register any custom page collections that may be set in the config

 A custom resource list manipulator will be generated for each key in the
 custom collections hash.

 The following will collect posts on the "category" frontmatter property:
   ```
   activate :blog do |blog|
     blog.custom_collections = {
       category: {
         link: "/categories/:category.html",
         template: "/category.html"
       }
     }
   end
   ```

 Category pages in the example above will use the category.html as a template file
 and it will be ignored when building.