class Middleman::Sitemap::Resource
def initialize(store, path, source_file=nil)
-
source_file
(String
) -- -
path
(String
) -- -
store
(Middleman::Sitemap::Store
) --
def initialize(store, path, source_file=nil) @store = store @app = @store.app @path = path.gsub(' ', '%20') # handle spaces in filenames @source_file = source_file @destination_path = @path @local_metadata = { options: {}, locals: {}, page: {}, blocks: [] } end