Avoid `.json` files for static output
I'm getting the following error when navigating from the startpage to '/guides/' (it works when accessing it directly, as the static build suceeded):
An item is in error state path=content%2Fguides&id=
I suspect this might be because Github Pages can't serve up the .json file, as the file is clearly there in the repo.
Maybe index routes should be stored as index.json rather than .json?
Can you try to put a .nojekyll (empty) file at the root of your public/ folder (or directly at the root of gh-pages branch just to try) if that is making the situation better?
That did nothing, unfortunately.
I already got similar issues in the past and found this https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/ that helped me. I will try to have a look in a few days. Contribution welcome if you have the time. So not hesitate to ask for help if you struggle with a contribution, I will do my best even if I don’t have a computer atm.
I think creating a _config.yml with the following content fixed it:
include:
- *.json
I will try to make this invisible to end users, probably by avoiding this .../.json files.