Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection" "Pages" empty on fresh install #52

Closed
Kaisaurus opened this issue Feb 28, 2018 · 2 comments
Closed

Collection" "Pages" empty on fresh install #52

Kaisaurus opened this issue Feb 28, 2018 · 2 comments

Comments

@Kaisaurus
Copy link

When I do I fresh install of this through the start with a template link and I login to the new site, if I go to Colllections > Pages it says "No Entries".

According to the config.yml I think it should display about and products

Any idea whats going wrong?

(I also tried adding a new collection with a similar structure as pages and also getting "No Entries" in the admin panel.)

@AustinGreen
Copy link
Contributor

Yes, the file paths are wrong here static/admin/config.yml. This commit (#51 ) will fix it, but you can just change it yourself if you don't want to wait for the PR to be merged.

file: "src/pages/about/about.md" should be file: "src/pages/about/index.md"
file: "src/pages/products/product.md" should be file: "src/pages/products/index.md"

https://github.com/AustinGreen/gatsby-starter-netlify-cms/pull/51/files#diff-e36160419abb71f07eb8f74e9d3cc8bc

@erquhart
Copy link
Contributor

erquhart commented Mar 2, 2018

@AustinGreen we should fix the bug right away - if you'd like time to review the PR you mentioned, let's just get a commit merged for the issue at hand. I'll get a PR up now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants