Hugo 0.115.2 Released


Hugo 0.115.2 packages

Brew - Hugo Brew package for macOS and Linux - updated :white_check_mark:
Snap Package - Hugo Snap (Snapcraft) package for Linux - not yet updated :x:
Docker/CI Image - Hugo Docker image for Continuous Integration - updated :white_check_mark:
Debian (unstable) - not yet updated :x: (Track link)
Ubuntu (hirsute) - not yet updated :x: (Track link )
Fedora Copr - Hugo RPM package for Fedora and CentOS - updated :white_check_mark:
Chocolatey Package - Hugo Chocolatey package for Windows


Hi, I checked the output with my - “de” with disabled “en”, default in subdir - setting.
a) content and dirs are ok.
b) sitemap in “/de” but no sitemapindex in the root.
Q: Is b) correct?
In my understanding: an index map in the root with the link to the de map should be provided.

Well, Hugo has never created a sitemapindex when you have only 1 language defined. With the new behehaviour introduced above, maybe we should.

Also missing index.html in root that redirects to defaultContentLanguage subdirectory.

Because such a language configuration is a “pseudo static language” setting, one can put the siteimapindex in the static dir. 115.2 provides the “automatic” creation and building parts. So it’s okay for me.

No, I think that your and @jmooring comment makes perfectly sense, it just didn’t cross my mind when doing the above. If someone could create a “Github reminder”, I will fix.

1 Like

Will do.

1 Like

Thank you all!

Is this related?

That issue is closed, fixed with With v0.115.2:

this configuration...
disableKinds = ['taxonomy','term']
enableRobotsTXT = true

defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = true

contentDir = 'content/en'
languageCode = 'en-US'
languageName = 'English'
weight = 1

contentDir = 'content/de'
disabled = true
languageCode = 'de-DE'
languageName = 'Deutsch'
weight = 2

produces this site...
├── en/
│   ├── index.html
│   ├── index.xml
│   └── sitemap.xml
└── robots.txt

1 Like

This is a issue about a release, not a bug tracker.

1 Like

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