Hi.
I would like to use the Cupper theme, but when I start hugo server i have the following error :
"......\themes\cupper-hugo-theme\layouts\partials\head.html:6:1": parse failed: template: partials/head.html:6: function "hugo" not defined
The line in error is :
{{ hugo.Generator }}
Hugo version : 0.52.0 win32 x64
@zwbetz
frjo
2
You need to update Hugo to the latest versions.
1 Like
Hi @loicpetitdev. As @frjo mentioned, you need to update your Hugo version, since the hugo
keyword is only available in version 0.53
and onwards.
Also, did you read the README? https://github.com/zwbetz-gh/cupper-hugo-theme#minimum-hugo-version
1 Like
Thanks, stupid mistake…
@zwbetz yes I did but miss that part…