Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during building #2

Open
spectrwm opened this issue Oct 9, 2022 · 1 comment
Open

Errors during building #2

spectrwm opened this issue Oct 9, 2022 · 1 comment

Comments

@spectrwm
Copy link

spectrwm commented Oct 9, 2022

$ hugo server
Building sites … ERROR 2022/10/09 09:38:20 render of "page" failed: execute of template failed: template: _default/single.html:6:7: executing "main" at <partial "brand-list.html" .>: error calling partial: "/home/asp/Desktop/hugo-taxonomies-master/layouts/partials/brand-list.html:7:16": execute of template failed: template: partials/brand-list.html:7:16: executing "partials/brand-list.html" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands adidas]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}
ERROR 2022/10/09 09:38:20 render of "page" failed: execute of template failed: template: _default/single.html:6:7: executing "main" at <partial "brand-list.html" .>: error calling partial: "/home/asp/Desktop/hugo-taxonomies-master/layouts/partials/brand-list.html:7:16": execute of template failed: template: partials/brand-list.html:7:16: executing "partials/brand-list.html" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands asics]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}
ERROR 2022/10/09 09:38:20 render of "page" failed: execute of template failed: template: _default/single.html:6:7: executing "main" at <partial "brand-list.html" .>: error calling partial: "/home/asp/Desktop/hugo-taxonomies-master/layouts/partials/brand-list.html:7:16": execute of template failed: template: partials/brand-list.html:7:16: executing "partials/brand-list.html" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands asics]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}
ERROR 2022/10/09 09:38:20 render of "page" failed: execute of template failed: template: _default/single.html:6:7: executing "main" at <partial "brand-list.html" .>: error calling partial: "/home/asp/Desktop/hugo-taxonomies-master/layouts/partials/brand-list.html:7:16": execute of template failed: template: partials/brand-list.html:7:16: executing "partials/brand-list.html" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands asics]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}
ERROR 2022/10/09 09:38:20 render of "page" failed: execute of template failed: template: _default/single.html:6:7: executing "main" at <partial "brand-list.html" .>: error calling partial: "/home/asp/Desktop/hugo-taxonomies-master/layouts/partials/brand-list.html:7:16": execute of template failed: template: partials/brand-list.html:7:16: executing "partials/brand-list.html" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands new-balance]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}
Built in 90 ms
Error: Error building site: failed to render pages: render of "taxonomyTerm" failed: "/home/asp/Desktop/hugo-taxonomies-master/layouts/_default/terms.html:36:21": execute of template failed: template: _default/terms.html:36:21: executing "main" at <$.Site.GetPage>: error calling GetPage: too many arguments to .Site.GetPage: [taxonomyTerm brands new-balance]. Use lookups on the form {{ .Site.GetPage "/posts/mypage-md" }}

How to fix?

@dzwiedziu-nkg
Copy link

Confirm. Not working with Hugo v0.108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants