Dear All,
I’m new on HUGO and has no experience on. I have to change the hosting for a reason of our website which is actually on AWS. the former it send to me the source of the website and told me he is on v0.8. When I launch the site to compile the public folder I’m getting following errors:
ERROR 2023/04/19 17:03:55 render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
I have looked over the different forums but didn’t managed to solve it.
I have released in baseof.html .URL by .RelPermalink but still get following error:
Start building sites …
hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended windows/amd64 BuildDate=2023-03-12T11:40:50Z VendorInfo=gohugoio
ERROR 2023/04/19 17:23:11 render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
ERROR 2023/04/19 17:23:11 render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
ERROR 2023/04/19 17:23:11 render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
ERROR 2023/04/19 17:23:11 render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
Error: Error building site: failed to render pages: render of “page” failed: “C:\Hugo\bin\front_2019\themes\asinternational\layouts_default\baseof.html:6:31”: execute of template failed: template: _default/single.html:6:31: executing “site/meta” at <partial “site/meta.html” .>: error calling partial: “C:\Hugo\bin\front_2019\themes\asinternational\layouts\partials\site\meta.html:6:8”: execute of template failed: template: partials/site/meta.html:6:8: executing “partials/site/meta.html” at <.Hugo.Generator>: can’t evaluate field Hugo in type *hugolib.pageState
Built in 1026 ms
Do you have any idea about the solution?