Skip to content

Feat: Add support for Hugo v0.162 breaking changes #3324

@brams153

Description

@brams153

Preliminary Checks

Description

I am encountering a template rendering error when building my site. I have performed version isolation testing, and I have determined that the build fails consistently on Hugo v0.162.0, while it succeeds on Hugo v0.160.0.

The error appears to be related to the content-collection block, specifically within the build_links partial.

Reproduction Link

https://github.com/brams153/academic-cv.git

Steps to Reproduce

  1. Configure a content-collection block in the site.
  2. Build the site using Hugo v0.162.0.
  3. Observe the crash: error calling SetInMap: assignment to entry in nil map.
  4. Rebuild the site using Hugo v0.160.0.
  5. The build completes successfully without errors.

Expected Result

There will be a code error because some versions of hugo break some features above all about cites with bib and latex and urls

Actual Result

ERROR error building site: ...
executing "_partials/functions/build_links.html" at <$seen.SetInMap>: 
error calling SetInMap: assignment to entry in nil map

What Hugo Module versions does your site use?

go 1.19

require (
github.com/HugoBlox/kit/modules/integrations/netlify v0.0.0-20260327032542-ef8ed449c7e8
github.com/HugoBlox/kit/modules/blox v0.0.0-20260527025321-61f41d3667f1
github.com/HugoBlox/kit/modules/slides v0.0.0-20260330182742-6a2f1ba2aeb5
)

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

Which Hugo Blox template are you using?

Academic CV

What version of Hugo are you using?

0.162.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions