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
Chronoblog requires at least one post with a "cover" in frontmatter #21
Comments
I think you are talking about this: https://github.com/Chronoblog/gatsby-theme-chronoblog#frontmatter-placeholder ? |
Nope; I left that file alone and got the error I provided above when I removed the |
I experienced this yesterday while moving into this theme - I couldn't get the page building again until I'd provided an image at exactly the path specified by |
Here is a test starter where this error is reproduced: https://github.com/Chronoblog/gatsby-theme-chronoblog/tree/master/tests/profile-minimal But I still don’t understand why this is happening. Command to run:
|
Thanks to the investigation by @russmatney #36 (comment), we know that this problem does not have a “right” solution. But we can do something. So, I tried to add a real image file to the I don’t like this solution because it relies a lot on the I’m thinking about maybe creating a separate place for this file? Or maybe automatically generate it every time a site is generated? |
Sorry about that, posted this before I actually wanted to.
While editing the theme, I removed the last example post in the
posts
folder and got the following errors:Upon further inspection, it appears that you need at least one post with a cover image, otherwise you get that error. If you supply a post with a cover image, you don't get the error. Took me forever to figure it out, because the errors weren't exactly the most helpful thing in the world.
Is the
cover
field required in frontmatter? I had thought that it wasn't.The text was updated successfully, but these errors were encountered: