0

I uploaded my jekyll site to github, and created a table for my data files.

The data is showing when I run the website locally. Unfortunately, After I upload it to github, I doesnt show anymore.

I have my csv data named "vclists.csv" under "_csv" folder.

Heres my repository - https://github.com/geloangelia/myvcsite/

Heres the link where the table of my data files should show.

https://geloangelia.github.io/myvcsite/jekyll/update/2017/01/20/welcome-to-jekyll.html

1 Answers1

1

Like most of the time that Github pages fails to generate a site, there is an inconsistency in Gemfile and Gemfile.lock.

You need to run bundle update to rebuild your snapshot from scratch, using only the gems in your Gemfile, and commit the Gemfile.lock.

Also, the data being loaded isn't the one located at _csv folder, is the one in the _data folder.

marcanuy
  • 23,118
  • 9
  • 64
  • 113
  • I created a table of data files an follow this steps that why I have "_csv" folder. See link = https://github.com/avillafiorita/jekyll-csv_read – Francis Angelo Angelia Jan 23 '17 at 19:21
  • I won't use a 3 year old plugin.. What you see is the first tag `{{ site.data.vclist }}`, it load the data from the `_data` folder, the other content isn't being generated – marcanuy Jan 23 '17 at 19:27
  • Do you have any recommendation so I can make a table from my csv data files? – Francis Angelo Angelia Jan 23 '17 at 19:37
  • process each row like a common data file, adjust the tags to create a table `
      {% for item in site.data.vclist %}
    • {{item.No}}
    • {% endfor %}
    `
    – marcanuy Jan 23 '17 at 20:11