Hi, after upgrading to 0.55.0, I am getting this when I run hugo server
:
Building sites … WARN 2019/04/09 11:16:17 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
… but I don’t find anything specific about this “global hugo function” in the docs or in github issues (I’m probably searching the wrong thing).
I assume this is talking about what you might put in your <head>
, right? :
{{ printf "<!--Hugo Build Date: %s-->" .Hugo.BuildDate | safeHTML }}
{{ printf "<!--Hugo Commit Hash: %s-->" .Hugo.CommitHash | safeHTML }}
{{ .Hugo.Generator }}
Those are the only references I have to .Hugo
in the site I got this error on. Can someone please point me at something that explains this? Thanks in advance.