-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Comment in first row of templates makes the page go blank #6816
Comments
It's a accidental side effect of Hugo 0.63. For now I suggest you move this comment inside the first |
That works, thanks! |
This is still broken in 65.3: Hugo Static Site Generator v0.65.3-211BA42A windows/amd64 BuildDate: 2020-02-23T09:58:40Z A single (based on a "base-of") that starts with a comment and has only blocks/templates will result in 0 pages rendered.
Removing the initial comment allows rendering. The last time this worked was 63.0 |
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. |
(page is blank)
First row of
layouts/blog/single.html
When I remove the comment, the page gets rendered.
URL of the page that disappears: http://localhost:8080/blog/article-name/
I am using
_defaults/baseof.html
, but this doesn't show either.Or am i mistaken and it is a wanted feature?
What version of Hugo are you using (
hugo version
)?(via npm: hugo-bin)
Does this issue reproduce with the latest release?
Yes
The text was updated successfully, but these errors were encountered: