def collect
      @assets = YAML.safe_load(@manifest).map! do |path|
        full_path = File.join(@source, path)
        File.open(File.join(@source, path)) do |file|
          ::JekyllAssetPipeline::Asset.new(file.read, File.basename(path),
                                           File.dirname(full_path))
        end
      end
    rescue StandardError => e
      puts 'Asset Pipeline: Failed to load assets from provided ' \
           "manifest: #{e.message}"
      raise e
    end
def collect
      @assets = YAML.safe_load(@manifest).map! do |path|
        full_path = File.join(@source, path)
        File.open(File.join(@source, path)) do |file|
          ::JekyllAssetPipeline::Asset.new(file.read, File.basename(path),
                                           File.dirname(full_path))
        end
      end
    rescue StandardError => e
      puts 'Asset Pipeline: Failed to load assets from provided ' \
           "manifest: #{e.message}"
      raise e
    end
Collect assets based on manifest