-
-
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
disableHugoGeneratorInject is ignored #5048
Comments
We only insert this tag if 1) is home page 2) there is no generator tag there before 3) disableHugoGeneratorInject is not set If you are saying that all the pages are marked as changed, there must be a different explanation. Also, this code has been rewritten for 0.47. |
I'm not sure where to look. The tag inserted is:
The old tag was:
and it was also present on every page I checked. My theme was doing cache busting by adding Anyway, it doesn't really bother me, just noticed and thought I'd let you know. If you say the code was rewritten and the issue is probably something else, please feel free to close the incident. I can retest with 0.47 when the binary is available. If I can help with more information, let me know. |
I will eventually check, but since the logic is to add this to home page only (I just checked the code), I suspect that you get that generator tag from the theme itself. |
And you are right, it's the theme that adds it. Apologies for wasting your time, I'll close the incident. Thank you. |
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. |
Using "Hugo Static Site Generator v0.46 darwin/amd64 BuildDate: 2018-08-01T09:00:55Z",
toml
config format, binary downloaded from GitHub. The non-extended version.Setting
disableHugoGeneratorInject = true
has no effect, the generator meta tag is still inserted.Moving to v0.46 from v0.37, which caused all pages to be marked as changed. With v0.37 the tag is not inserted.
The text was updated successfully, but these errors were encountered: