-
Hi all, I’m building a site using the collectionbuilder-gh template. I’ve added a published Google Sheets CSV url in _config.yml for live updates. I’m running the site locally and using GitHub Actions to deploy. The site builds successfully, but it still displays "0 items" on the homepage and on /browse.html: Here are my links: My main questions:
Any help would be greatly appreciated! Thanks you so much!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Garnetwen your project was started from collectionbuilder-gh, which does not support loading a live CSV directly from Sheets. That functionality is only available in collectionbuilder-sheets template. If you want to use a live sheet, you will have to start a new project from collectionbuilder-sheets, and copy your content over. Note in "_config.yml", CB-GH uses the key Good luck! |
Beta Was this translation helpful? Give feedback.
@Garnetwen your project was started from collectionbuilder-gh, which does not support loading a live CSV directly from Sheets. That functionality is only available in collectionbuilder-sheets template. If you want to use a live sheet, you will have to start a new project from collectionbuilder-sheets, and copy your content over.
If you want the current project to work, you will have to download your metadata CSV and put it into the "_data" folder.
Note in "_config.yml", CB-GH uses the key
metadata:
(which can only be a csv file in the "_data" folder), where as CB-Sheets uses the keymetadata-csv:
(which can be a link or relative path to a csv file anywhere).Here is the docs: https://coll…