I’m new to hugo and getting the following error when buildling at vercel and netlify
it works fine building locally though
Building sites … ERROR 2024/01/20 20:31:20 render of “page” failed: “/vercel/path0/layouts/posts/single.html:28:18”: execute of template failed: template: posts/single.html:28:18: executing “content” at <.getterms>: can’t evaluate field getterms in type *hugolib.pageState
the code that errors is
{{ with .GetTerms "authors" }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .GetTerms "categories" }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .GetTerms "tags" }}{{ partial "taxonomy/tags.html" . }}{{ end }}
I tried different casing still not working