parent
							
								
									d8d1feec71
								
							
						
					
					
						commit
						58368cdacc
					
				|  | @ -8,6 +8,7 @@ module Jekyll | |||
|       @site = site | ||||
|       @content = {} | ||||
|       @entry_filter = EntryFilter.new(site) | ||||
|       @source_dir = site.in_source_dir("/") | ||||
|     end | ||||
| 
 | ||||
|     # Read all the files in <dir> and adds them to @content | ||||
|  | @ -53,6 +54,8 @@ module Jekyll | |||
|     # | ||||
|     # Returns the contents of the data file. | ||||
|     def read_data_file(path) | ||||
|       Jekyll.logger.debug "Reading:", path.sub(@source_dir, "") | ||||
| 
 | ||||
|       case File.extname(path).downcase | ||||
|       when ".csv" | ||||
|         CSV.read(path, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue