Index | Thread | Search

From:
"W. D. Sadeep" <sadeep@asciimx.com>
Subject:
Partial not found - hugo serve not working
To:
ports@openbsd.org
Date:
Wed, 22 Oct 2025 21:31:19 +0800

Download raw body.

Thread
Hello,

I upgraded to OpenBSD 7.8 and did a package update. The output of 
`hugo version`:

hugo v0.150.1+extended+withdeploy openbsd/amd64 BuildDate=unknown

When I run `hugo serve`, I get a series of errors like:

WARN  Doubtful use of partial function in {{ partial "partials/scripts.html"}}), this is most likely not what you want. Consider removing superfluous prefix "partials/" from template name given as first function argument.
You can suppress this warning by adding the following to your site configuration: ignoreLogs = ['warning-partial-superfluous-prefix']
ERROR render of "/categories" failed: "/home/sadeep/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/smadurange/gohugo-theme-ed@v0.0.0-20250915105319-7e1ab9ae9164/layouts/_default/baseof.html:8:7": execute of template failed: template: _default/terms.html:8:7: executing "_default/terms.html" at <partial "head.html" .>: error calling partial: "/home/sadeep/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/smadurange/gohugo-theme-ed@v0.0.0-20250915105319-7e1ab9ae9164/layouts/partials/head.html:46:8": execute of template failed: template: _partials/head.html:46:8: executing "_partials/head.html" at <partial "partials/scripts.html" .>: error calling partial: partial "partials/scripts.html" not found

I'm using hugo modules to manage my theme, https://github.com/sergeyklay/gohugo-theme-ed.

Please cc me in your replies.

-- 
W. D. Sadeep 
PGP: 103BF9E3E750BF7E