When I replace the .hugo.generator by hugo.generator I get the following error:
header.html:22:1": parse failed: template: partials/header.html:22: function “Hugo” not defined
When I put {{ $.Hugo.Generator }} I still get the following warning: Page’s .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
Hi @aavdberg, I’ve moved your posts to a new topic and linked the old one.
Please see requesting help and share your code so that we can help you out with this
Use:
{{ hugo.Generator }}
Note that it is case sensitive.