Hugo instance with the Archie theme fails to render with error messages

My Hugo (v0.121.2) website using Archie theme fails to render, both locally and as a pipeline on GitLab pages. It throws up the following code:

hugo
Start building sites … 
hugo v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154 linux/amd64 BuildDate=2024-01-05T12:21:15Z VendorInfo=gohugoio

ERROR render of "page" failed: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/_default/baseof.html:3:8": execute of template failed: template: _default/single.html:3:8: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/partials/header.html:35:50": execute of template failed: template: partials/header.html:35:50: executing "partials/header.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed
ERROR render of "taxonomy" failed: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/_default/baseof.html:3:8": execute of template failed: template: _default/terms.html:3:8: executing "_default/terms.html" at <partial "header.html" .>: error calling partial: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/partials/header.html:35:50": execute of template failed: template: partials/header.html:35:50: executing "partials/header.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed

Total in 93 ms
Error: error building site: render: failed to render pages: render of "home" failed: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/index.html:3:4": execute of template failed: template: index.html:3:4: executing "index.html" at <partial "header.html" .>: error calling partial: "/home/coyu3/Documents/devel/praxis-arhiva/layouts/partials/header.html:35:50": execute of template failed: template: partials/header.html:35:50: executing "partials/header.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed

Any help is greatly appreciated.

You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

Thanks, the repo can be found here: tomislavmedak / praxis-arhiva · GitLab

content/_index.md

Change this:

images: "praxis.png"

to this:

images: ["praxis.png"]

The images (plural) field is an array, not a scalar value.

Works now. Thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.