digitalcraftsman / hugo-artists-theme

Port of Travis Neilson's (DevTips) awesome Artists Theme to Hugo
The Unlicense
58 stars 40 forks source link

WARN Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function. #15

Closed anishkny closed 4 years ago

anishkny commented 5 years ago

Seeing this warning upon building:

Building sites … WARN 2019/10/20 08:42:54 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.

I think this:

{{ .Hugo.Generator }}

should be replaced with:

{{ hugo.Generator }}

This makes the warning go away.