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

Page.Hugo is deprecated #164

Open
beinformed2020 opened this issue Jun 5, 2020 · 1 comment
Open

Page.Hugo is deprecated #164

beinformed2020 opened this issue Jun 5, 2020 · 1 comment

Comments

@beinformed2020
Copy link

Current Behavior

When Hugo compiles I get the following warning:

WARN 2020/06/05 15:16:40 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.

Please advise.

Your Environment

Hugo Version:
Latest
Browser:
Brave
Desktop or Mobile:
Kubuntu 18.04 Desktop
Link to your project:

@beinformed2020
Copy link
Author

beinformed2020 commented Jun 5, 2020

To answer my own issue:

I changed;
{{ .Hugo.Generator }}
From line 11, "layouts>partials>header.html"
to
{{ hugo.Generator }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant