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

Zero front matter should be treated identically to Empty front matter #4320

Closed
vassudanagunta opened this issue Jan 24, 2018 · 1 comment
Closed
Milestone

Comments

@vassudanagunta
Copy link
Contributor

Currently a file with the contents:

```

```
page with empty front matter

is not treated identically to a file with the contents:

page with no front matter

Specifically, the logic in Page.update() is executed for the former case, but skipped for the latter. At the moment, the only impact is that the useModTimeAsFallback config setting is ignored for the page with no front matter. This may be minor, but if proposed new functionality for additional default logic for Date and Title are implemented, it will matter a lot more.

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants