Download raw body.
Partial not found - hugo serve not working
On Wed, 22 Oct 2025 15:31:19 +0200,
"W. D. Sadeep" <sadeep@asciimx.com> wrote:
>
> 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.
>
I think you should update your theme to a version which includes this
commit: https://github.com/sergeyklay/gohugo-theme-ed/commit/231fd7c5ccc58405ea838ffb6ce005f8bacb9def
--
wbr, Kirill
Partial not found - hugo serve not working