Failing to pull from YAML data files


#1

Edit: I figured it out and not only is it working, but I switched the data format to json and now have the records sorted by a ‘weight’ parameter.


I am trying to pull data from data files.

Here is the data file:
https://github.com/zivbk1/islandview-pta-site/blob/master/site/data/ourproducts/small.json

Here is the layout file that is trying to call some data into it (line 14).
https://github.com/zivbk1/islandview-pta-site/blob/master/site/layouts/partials/table.html

That same file (line 17) calls this partial to build a table from the data in the file.
https://github.com/zivbk1/islandview-pta-site/blob/master/site/layouts/partials/table-column.html

I am not getting any errors, just nothing is showing up in either place.
You can see the results here.
https://islandviewpta.netlify.com/products/

I am sure this is user error.
Thank you for any advice.


#2

It looks like you’ve modified your files since posting this issue. Did you solve your problem?


#3

No, I just found a missing div tag and added some new data files for the range function to operate over.


#4

I figured it out, most recent commit has all the latest updates and working code.