Skip to content

Conversation

@bep
Copy link
Member

@bep bep commented Jan 11, 2026

  • The fix for Investigate the sites matrix file mount merge logic #14357 yesterday sadly had the assumption that default language/version/role always was the first site in the sites matrix. This is common, but not always true.
  • Also, that fix forgot to add a redirect the other way when defaultContentLanguageInSubdir was disabled, e.g. from /en/ to /.
  • This commit also renames config option DisableDefaultDimensionRedirect to DisableDefaultSiteRedirect. This is stricly a breaking change, but it's only been out for a day, and the old name didn't make much sense.

Fixes #14361

@gemini-code-assist
Copy link

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

@bep bep force-pushed the fix/redirectdefault branch 5 times, most recently from 181a8a9 to 68dc190 Compare January 11, 2026 18:13
* The fix for gohugoio#14357 yesterday sadly had the assumption that default language/version/role always was the first site in the sites matrix. This is common, but not always true.
* Also, that fix forgot to add a redirect the other way when `defaultContentLanguageInSubdir` was disabled, e.g. from `/en/` to `/`.
* This commit also renames config option `DisableDefaultDimensionRedirect` to `DisableDefaultSiteRedirect`. This is stricly a breaking change, but it's only been out for a day, and the old name didn't make much sense.

Fixes gohugoio#14361
@bep bep force-pushed the fix/redirectdefault branch from 68dc190 to 076997d Compare January 11, 2026 18:47
@bep bep merged commit a775488 into gohugoio:master Jan 11, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default language alias / refresh page woes

1 participant