Skip to content

theme: fix alias for home page if defaultContentLanguageInSubdir=true #414

@hugograf

Description

@hugograf

After the command hugo server the following happens for my bilingual website:

Watching for changes in C:\SoftwareProjekte\Hugos\gt-user-manual\{archetypes,content,data,layouts,static,themes}
Watching for config changes in C:\SoftwareProjekte\Hugos\gt-user-manual\config.toml, C:\SoftwareProjekte\Hugos\gt-user-manual\themes\hugo-theme-relearn\config.toml
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:1313/gt-user-manual/ (bind address 127.0.0.1)

If the URL "http://localhost:1313/gt-user-manual/ " is taken over into the webbrowser, the result depends on the release of the template:

  • Before release 5.6.4 it gets redirected to http://localhost:1313/gt-user-manual/de/
  • Since release 5.6.4 it gets redirected to: http://localhost:1313/de/index.html -> 404 page not found.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions