From: "W. D. Sadeep" Subject: Re: Partial not found - hugo serve not working To: ports@openbsd.org Date: Wed, 22 Oct 2025 22:04:16 +0800 On 2025-10-22 15:56:37, Kirill A. Korinsky wrote: > On Wed, 22 Oct 2025 15:31:19 +0200, > "W. D. Sadeep" wrote: > > > > 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: > > > > 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 Indeed. Thank you for pointing that out. I was using my own fork and I didn't notice the patch. Apologies for the noise. -- W. D. Sadeep PGP: 103BF9E3E750BF7E