hugo-rocinante icon indicating copy to clipboard operation
hugo-rocinante copied to clipboard

Build is failing every time

Open NiklasJordan opened this issue 4 years ago • 2 comments

I use the default toml of your example site folder. Every time I'm building the site, I'll get this error:

[ERROR] Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:5:12: executing "main" at <partial "about.html" .>: error calling partial: "/Users/niklas/Desktop/hugo.niklasjordan.com/.hugo/themes/rocinante/layouts/partials/about.html:1:24": execute of template failed: template: partials/about.html:1:24: executing "partials/about.html" at <.RenderString>: error calling RenderString: runtime error: invalid memory address or nil pointer dereference

I can see, that no index.html is building or in the generated folder.

NiklasJordan avatar Aug 13 '20 22:08 NiklasJordan

@NiklasJordan That is strange. Can you tell me what hugo version you are using? And the config.toml is the same one form exampleSite without any changes? The error makes it look like either the about in params the toml is missing, or the filter. :(

mavidser avatar Aug 17 '20 12:08 mavidser

@mavidser I'm using Hugo 0.64.1. Yes, I'm copied the config.toml from exampleSite and overwrite the default config.toml.

NiklasJordan avatar Aug 17 '20 14:08 NiklasJordan