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

document HTML mangling #6017

SoniEx2 opened this issue Jun 7, 2019 · 2 comments


Copy link

commented Jun 7, 2019

Hugo mangles output HTML, adding stuff like <meta name="generator" content="Hugo 0.55.6" /> and LiveReload by default. While LiveReload is quite well documented, the meta tag isn't. there are probably other forms of mangling that it does that are hard or impossible to disable. those should be documented as well.


This comment has been minimized.

Copy link

commented Jun 12, 2019

I wouldn't say that the meta generator tag is 'mangling' and it is clearly documented in the Getting Started guide too:

disableHugoGeneratorInject (false)
Hugo will, by default, inject a generator meta tag in the HTML head on the home page only. You can turn it off, but we would really appreciate if you don’t, as this is a good way to watch Hugo’s popularity on the rise.

LiveReload is only used on Live Preview as it's needed for live reloading. It isn't included in the final generated output.


This comment has been minimized.

Copy link

commented Jun 12, 2019

I will close this. It is documented.

@bep bep closed this Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.