avillafiorita / jekyll-datapage_gen

Generate one page per yaml record in Jekyll sites.
369 stars 80 forks source link

added hash detection and conversion of values to array #64

Closed ryanrutan closed 4 years ago

ryanrutan commented 4 years ago

Not sure if this is a caused by Jekyll 4.0 or not, but when using both CSV and YML files in the _data directory, I ran into an issue where the CSV were imported fine, but YML files were failing due to the Array value returning as the index and not the Hash Value. Added this little ditty to bat cleanup and all worked well. Thanks for sharing this plugin, it was EXACTLY what I needed/wanted!