You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo will, by default, inject a generator meta tag in the HTML head on the home page only. You can turn it off by setting disableHugoGeneratorInject = true
Docsy seems to inject the generator meta tag in each HTML head unconditionally.
The text was updated successfully, but these errors were encountered:
Unfortunately I can't fix it nicely, because if I set the disableHugoGeneratorInject at the top level of the configfile (as it should be), I can't reference the parameter from the template. If you add it under the params section, then you can disable it like this in the head.html partial:
{{ if not .Site.Params.disableHugoGeneratorInject }} {{ hugo.Generator }} {{ end }}
According to https://gohugo.io/getting-started/configuration/ the behavior should be like this:
Hugo will, by default, inject a generator meta tag in the HTML head on the home page only. You can turn it off by setting disableHugoGeneratorInject = true
Docsy seems to inject the generator meta tag in each HTML head unconditionally.
The text was updated successfully, but these errors were encountered: