-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
.Site.IsServer set as true for hugo v0.112.1 for the main command #11006
Comments
Confirmed. You can probably use |
This seems to be related: Minimal example:
Then run:
No problems. This could expose sensitive/internal content.
config/development/module.toml
|
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. |
Hello, it seems that .Site.IsServer is returning true for generating pages using the main command.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
The text was updated successfully, but these errors were encountered: