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's .Hugo is deprecated. Use the global hugo function #132

Closed
hexandcube opened this issue Jun 11, 2019 · 1 comment · May be fixed by #145
Closed

Page's .Hugo is deprecated. Use the global hugo function #132

hexandcube opened this issue Jun 11, 2019 · 1 comment · May be fixed by #145

Comments

@hexandcube
Copy link

Building sites … WARN 2019/06/11 16:49:38 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function
@salmanulfarzy
Copy link
Contributor

.Hugo variables are being deprecated,

<!-- Site Generator -->
<meta name="generator" content="Hugo {{ .Hugo.Version }}">

Replace this with

<!-- Site Generator -->
{{ hugo.Generator }}

or

<!-- Site Generator -->
<meta name="generator" content="Hugo {{ hugo.Version }}">

obrienmikej pushed a commit to obrienmikej/mikejobrien.com that referenced this issue Oct 4, 2019
@hexandcube hexandcube closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
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

Successfully merging a pull request may close this issue.

2 participants