laozhu / hugo-nuo

🎨 A responsive light & clean hugo theme for blogger.
https://laozhu.me
MIT License
427 stars 150 forks source link

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

Closed hexandcube closed 6 months ago

hexandcube commented 5 years ago
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 commented 5 years ago

.Hugo variables are being deprecated,

https://github.com/laozhu/hugo-nuo/blob/6d6934bc6ac0cf2b6eb7774a8c6c1cf9c515a384/layouts/partials/head.html#L83-L84

Replace this with

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

or

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