class Middleman::Sitemap::Resource

def initialize(store, path, source_file=nil)

Parameters:
  • source_file (String) --
  • path (String) --
  • store (Middleman::Sitemap::Store) --
def initialize(store, path, source_file=nil)
  @store       = store
  @app         = @store.app
  @path        = path
  @source_file = source_file
  @destination_paths = [@path]
  @local_metadata = { :options => {}, :locals => {}, :page => {}, :blocks => [] }
end