-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
hello-world.md lacks a date #53
Comments
I can't reproduce this issue, could you provide the complete call stack of the error? |
Can't reproduce either. In fact, our unit test includes generating a dummy blog site with 500 posts (all without date). So I doubt if it is really related with Hexo. |
Freebsd might have something to do with the error? |
What's the normal behavior? Is it meant to pull a date from the file system if there is none found in the front matter? It's reasonable to think that could have an OS-specific issue. Posts created with Here is the full trace.
|
However, it is commemorative to record the date of the hello world article (it is also the creation time of the blog site). |
When no date is specified in front-matter, hexo uses the file date. If it fails, I'd guess it's probably related to file system and permissions. Please try to delete the file and rebuild it, or use another volume. |
Initializing a new blog and running the server results in an error because hello-world.md lacks a date.
Adding a date to source/_posts/hello-world.md resolves the issue.
The text was updated successfully, but these errors were encountered: