Breadcrumbs: "fails" on multilanguage site

Hi.

About my hugo site: huc.fr.eu.org
It’s a multilanguage site: EN, FR (default).

I create articles on content/LANGUAGE directory; mainly into the news folder.

About the breadcrumb, on FR site, it’s run correctly; like:
>> Stéphane HUC >> News >> Article's title
See:
image

But on EN site, the ‘News’ section disappear!
>> Stéphane HUC >> Article's title
See:
image


I’m using a translationKey on header of article, same on both languages, like: translationKey: "w14-y2026".

The code to generate breadcrumb is visible on: layouts/partials/breadcrumbs.html · main · SH-Web / Hugo / huc.fr.eu.org · GitLab.
This breadcrumb partial files is calling by the _default/single.html.

What have I not understood? Or am I using it incorrectly?

Which version of Hugo are you using?

Actually:
hugo v0.159.1+extended linux/amd64 BuildDate=2026-03-30T08:11:37Z VendorInfo=debian:0.159.1-1

I’m not in a position to test this at the moment, but please try placing an _index.md file in each of the news directories.

OK, this resolves the “problem”; thanks! :wink:

I"m pretty sure this is related to this bug:
https://github.com/gohugoio/hugo/issues/14681

It looks like it.

This was resolved with https://github.com/gohugoio/hugo/pull/14727 and will be available in the next release.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.