contentDir issues when updating hugo

Hi all-

Iโ€™m working to update our site from hugo 0.92.2 to something more modern. We have a multi-lingual site and - upon testing out hugo 0.117.0 - I immediately noticed that running hugo on our site generates all the multi-lingual content into the public/en folder. So all de (German) content gets put into public/en/de/ etc. I suspect I missed a memo about this and I scanned this forum (admittedly briefly) and the FAQ, but could someone point me to the documentation about this change and how to work around it?

I also noticed that the hugo server command defaults to serving at the localhost:1313/en url, rather than the language-agnostic localhost:1313/ url, but I suspect this is related to the above.

Thanks!
-Dan

It would be helpful to see your site configuration. And your content structure. Or the whole repository.

I think I have figuring this out. It appears that I had the following in my config.toml:

defaultContentLanguage = "en"
defaultContentLanguageInSubdir = "true"

which I suspect was valid toml at some point. If I change this to:

defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = true

things appear to be getting back to normal.

Unfortunately, I donโ€™t think that worked.

Iโ€™m hesitant to share the entire repo. I wish I could upload text files but your Discourse instance doesnโ€™t allow it (it only accept images).

Hereโ€™s the top part of my config.toml file:

# https://gohugo.io/getting-started/configuration/
# In local "development" builds, baseURL is always switched to localhost
# For "production" of the site, AWS Amplify deploys with "environment" - see the production/config.toml for overrides
baseURL = "[redacted]"
title = "Rhinoceros - Modeling Tools for Designers"
assetDir = "static"
timeout = 60000
theme = "rhino3d.com-theme"
metaDataFormat = "toml"
disable404 = "true" # we custom generate our 404 page based on a template for localization purposes
enableGitInfo = "true"
disableKinds = ["RSS"]
buildFuture = "true"

[security.funcs]
    getenv = ['[redacted]']

[server]
[[server.headers]]
  for = '/**.3dm'
  [server.headers.values]
    Access-Control-Allow-Origin= '' # use for allowing access to 3rd party viewer (rview)

[params]
  nwo = "mcneel/rhino3d.com" # github repository (name with owner)
  latestRhinoVersion = 7
  supportedPlatforms = "Windows and macOS" # used for unfurls
  siteRootURL = "/" # used in navigation banner
  rhinoURL = "https://www.rhino3d.com"
  rhinoURLNewSource = "https://www.rhino3d.com/new-source"
  sitemapBaseURL = "https://www.rhino3d.com"
  navBarShouldResize = true
  supportsChat = true
  siteNavLogo = "/images/rhino-logo.png"
  logoTitleTextPrimary = "Rhino"
  logoTitleTextSecondary = "ceros"
  logoTitleTextHasDescenders = false # set to true if the logo title has letters with decenders
  protectedMark = "ยฎ"
  discourseURL = "https://discourse.mcneel.com"
  facebookURL = "https://www.facebook.com/McNeelRhinoceros/"
  twitterURL = "https://twitter.com/bobmcneel"
  linkedinURL = "https://www.linkedin.com/groups/75313/"
  youtubeURL = "https://www.youtube.com/user/RhinoGuide/videos"
  vimeoURL = "https://vimeo.com/rhino"
  bloggerURL = "http://blog.rhino3d.com/"
  food4rhinoURL = "https://www.food4rhino.com"
  [params.tableOfContents]
    endLevel = 3
    startLevel = 2

[markup]
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true
  [markup.highlight]
    anchorLineNos = true
    codeFences = true
    guessSyntax = true
    hl_Lines = ""
    lineAnchors = ""
    lineNoStart = 1
    lineNos = false
    lineNumbersInTable = true    
    noClasses = true
    style = "vs"
    tabWidth = 4

googlefonts = [
    "Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic",
    "Roboto+Mono:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic"
]

# https://gohugo.io/templates/sitemap-template/
[sitemap]
  changefreq = "daily"

defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = true
[languages]
  [languages.en]
    [languages.en.params]
      title = "Rhinoceros - Modeling Tools for Designers"
      description = "Rhino is a 3D modeler used to create, edit, analyze, document, render, animate, and translate NURBS* curves, surfaces, and solids, point clouds, SubD surfaces, and polygon meshes. There are no limits on complexity, degree, or size beyond those of your hardware."
      author = "Robert McNeel & Associates"
      weight = 1
      languageName = "English"
      contentDir = "content/en"
      copyright = "Copyright ยฉ 1993-{year} Robert McNeel & Associates. All Rights Reserved."
      imagesDir = "images"
      docLang = "en-us" # the language code used on docs.mcneel.com
    [languages.en.taxonomies]
      "tag" = "tags"
      "category" = "categories"
      "platform" = "platforms"
      "task" = "tasks"
      "level" = "levels"
    [languages.en.menu]
      [[languages.en.menu.main]]
        identifier = "buy"
        # you can add extra information before the name (HTML format is supported), such as icons
        pre = ""
        # you can add extra information after the name (HTML format is supported), such as icons
        post = ""
        name = "buy"
        url = "https://www.rhino3d.com/buy/"
        # title will be shown when you hover on this menu link.
        title = ""
        weight = 1
      [[languages.en.menu.main]]
        identifier = "download"
        pre = ""
        post = ""
        name = "download"
        url = "https://www.rhino3d.com/download"
        title = ""
        weight = 2
      [[languages.en.menu.main]]
        identifier = "gallery"
        pre = ""
        post = ""
        name = "gallery"
        url = "https://discourse.mcneel.com/c/gallery/46/l/top"
        title = ""
        weight = 3
      [[languages.en.menu.main]]
        identifier = "features"
        pre = ""
        post = ""
        name = "features"
        url = "https://www.rhino3d.com/features"
        title = ""
        weight = 4
      [[languages.en.menu.main]]
        identifier = "news"
        pre = ""
        post = ""
        name = "news"
        url = "https://www.rhino3d.com/news/"
        title = ""
        weight = 5
      [[languages.en.menu.main]]
        identifier = "community"
        pre = ""
        post = ""
        name = "community"
        url = "https://discourse.mcneel.com"
        title = ""
        weight = 6
      [[languages.en.menu.main]]
        identifier = "learn"
        pre = ""
        post = ""
        name = "learn"
        url = "https://www.rhino3d.com/learn"
        title = ""
        weight = 7
      [[languages.en.menu.main]]
        identifier = "support"
        pre = ""
        post = ""
        name = "support"
        url = "https://www.rhino3d.com/support"
        title = ""
        weight = 8
      [[languages.en.menu.main]]
        identifier = "resources"
        pre = ""
        post = ""
        name = "resources"
        url = "https://www.rhino3d.com/resources/"
        title = ""
        weight = 9
  [languages.cs]
    [languages.cs.params]
      title = "Rhinoceros - Modeling Tools for Designers"
      description = "Rhino is a 3D modeler used to create, edit, analyze, document, render, animate, and translate NURBS* curves, surfaces, and solids, point clouds, SubD surfaces, and polygon meshes. There are no limits on complexity, degree, or size beyond those of your hardware."
      author = "Robert McNeel & Associates"
      weight = 2
      languageName = "Czech"
      contentDir = "content/cs"
      copyright = "Copyright ยฉ 1993-{year} Robert McNeel & Associates. All Rights Reserved."
      rhinoURL = "https://www.rhino3d.com/cs"
      imagesDir = "images"
      docLang = "cs" # the language code used on docs.mcneel.com
      [languages.cs.params.navigation]
        help = "help"
    [languages.cs.taxonomies]
      "tag" = "tags"
      "category" = "categories"
      "platform" = "platforms"
      "task" = "tasks"
      "level" = "levels"
    [languages.cs.menu]
      [[languages.cs.menu.main]]
        identifier = "buy"
        # you can add extra information before the name (HTML format is supported), such as icons
        pre = ""
        # you can add extra information after the name (HTML format is supported), such as icons
        post = ""
        name = "buy"
        url = "https://www.rhino3d.com/buy/"
        # title will be shown when you hover on this menu link.
        title = ""
        weight = 1
      [[languages.cs.menu.main]]
        identifier = "download"
        pre = ""
        post = ""
        name = "download"
        url = "https://www.rhino3d.com/download"
        title = ""
        weight = 2
      [[languages.cs.menu.main]]
        identifier = "gallery"
        pre = ""
        post = ""
        name = "gallery"
        url = "https://discourse.mcneel.com/c/gallery/46/l/top"
        title = ""
        weight = 3
      [[languages.cs.menu.main]]
        identifier = "features"
        pre = ""
        post = ""
        name = "features"
        url = "https://www.rhino3d.com/features"
        title = ""
        weight = 4
      [[languages.cs.menu.main]]
        identifier = "news"
        pre = ""
        post = ""
        name = "news"
        url = "https://www.rhino3d.com/news/"
        title = ""
        weight = 5
      [[languages.cs.menu.main]]
        identifier = "community"
        pre = ""
        post = ""
        name = "community"
        url = "https://discourse.mcneel.com"
        title = ""
        weight = 6
      [[languages.cs.menu.main]]
        identifier = "learn"
        pre = ""
        post = ""
        name = "learn"
        url = "https://www.rhino3d.com/learn"
        title = ""
        weight = 7
      [[languages.cs.menu.main]]
        identifier = "support"
        pre = ""
        post = ""
        name = "support"
        url = "https://www.rhino3d.com/support"
        title = ""
        weight = 8
      [[languages.cs.menu.main]]
        identifier = "resources"
        pre = ""
        post = ""
        name = "resources"
        url = "https://www.rhino3d.com/resources/"
        title = ""
        weight = 9

[...other languages...]

and the content structure:


% tree -L 2 -d content
content
โ”œโ”€โ”€ cn
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ cs
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ””โ”€โ”€ learn
โ”œโ”€โ”€ de
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ en
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ categories
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ news
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ research
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ”œโ”€โ”€ training
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ es
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ grasshopper
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ rendering
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ subd
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ fr
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ it
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ jp
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ kr
โ”‚   โ”œโ”€โ”€ 404
โ”‚   โ”œโ”€โ”€ 5
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ 8
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ authorized
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ for
โ”‚   โ”œโ”€โ”€ ios
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ mcneel
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ privacy
โ”‚   โ”œโ”€โ”€ privacy-plain
โ”‚   โ”œโ”€โ”€ reseller
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ”œโ”€โ”€ stories
โ”‚   โ”œโ”€โ”€ support
โ”‚   โ””โ”€โ”€ vcode
โ”œโ”€โ”€ pl
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ””โ”€โ”€ learn
โ”œโ”€โ”€ pt
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ””โ”€โ”€ learn
โ”œโ”€โ”€ ru
โ”‚   โ”œโ”€โ”€ 6
โ”‚   โ”œโ”€โ”€ 7
โ”‚   โ”œโ”€โ”€ acknowledgments
โ”‚   โ”œโ”€โ”€ admin
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”œโ”€โ”€ download
โ”‚   โ”œโ”€โ”€ language
โ”‚   โ”œโ”€โ”€ learn
โ”‚   โ”œโ”€โ”€ mac-feature-compare
โ”‚   โ”œโ”€โ”€ my-account
โ”‚   โ”œโ”€โ”€ searchresults
โ”‚   โ””โ”€โ”€ support
โ””โ”€โ”€ tw
    โ”œโ”€โ”€ 404
    โ”œโ”€โ”€ 5
    โ”œโ”€โ”€ 6
    โ”œโ”€โ”€ 7
    โ”œโ”€โ”€ 8
    โ”œโ”€โ”€ acknowledgments
    โ”œโ”€โ”€ admin
    โ”œโ”€โ”€ api
    โ”œโ”€โ”€ authorized
    โ”œโ”€โ”€ docs
    โ”œโ”€โ”€ download
    โ”œโ”€โ”€ features
    โ”œโ”€โ”€ for
    โ”œโ”€โ”€ ios
    โ”œโ”€โ”€ language
    โ”œโ”€โ”€ learn
    โ”œโ”€โ”€ mac-feature-compare
    โ”œโ”€โ”€ mcneel
    โ”œโ”€โ”€ my-account
    โ”œโ”€โ”€ privacy
    โ”œโ”€โ”€ privacy-plain
    โ”œโ”€โ”€ reseller
    โ”œโ”€โ”€ searchresults
    โ”œโ”€โ”€ stories
    โ”œโ”€โ”€ support
    โ””โ”€โ”€ vcode

281 directories

When I run .hugo (0.117.0) in the root folder, I get the following:

                   | CN  | CS  | DE  |  EN  | ES  | FR  | IT  | JP  | KR  | PL  | PT  | RU  | TW   
-------------------+-----+-----+-----+------+-----+-----+-----+-----+-----+-----+-----+-----+------
  Pages            |   6 |   6 |   6 | 2849 |   6 |   6 |   6 |   6 |   6 |   6 |   6 |   6 |   6  
  Paginator pages  |   0 |   0 |   0 |    0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0  
  Non-page files   |   0 |   0 |   0 | 4049 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0  
  Static files     | 330 | 330 | 330 |  330 | 330 | 330 | 330 | 330 | 330 | 330 | 330 | 330 | 330  
  Processed images |   0 |   0 |   0 |  311 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0  
  Aliases          |   1 |   0 |   0 |   27 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0  
  Sitemaps         |   2 |   1 |   1 |    1 |   1 |   1 |   1 |   1 |   1 |   1 |   1 |   1 |   1  
  Cleaned          |   0 |   0 |   0 |    0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |   0  

Previously, when I ran .hugo (0.92.2) in the root folder, I got the following:

                   |  EN  | CN  | CS  | DE  | ES  | FR  |  IT  | JP  | KR  | PL  | PT  | RU  | TW   
-------------------+------+-----+-----+-----+-----+-----+------+-----+-----+-----+-----+-----+------
  Pages            |  395 | 209 |  13 | 165 | 178 | 173 | 1297 | 163 | 171 |  13 |  13 |  31 | 201  
  Paginator pages  |    0 |   0 |   0 |   0 |   0 |   0 |    0 |   0 |   0 |   0 |   0 |   0 |   0  
  Non-page files   | 2849 | 885 |   4 | 940 | 955 | 935 | 2522 | 933 | 976 |   2 |   4 |  74 | 933  
  Static files     |  330 | 330 | 330 | 330 | 330 | 330 |  330 | 330 | 330 | 330 | 330 | 330 | 330  
  Processed images |  262 |  75 |   0 |  82 | 105 |  83 |  203 |  82 |  88 |   0 |   0 |   0 |  82  
  Aliases          |    4 |   3 |   0 |   3 |   4 |   3 |    3 |   2 |   3 |   0 |   0 |   0 |   3  
  Sitemaps         |    2 |   1 |   1 |   1 |   1 |   1 |    1 |   1 |   1 |   1 |   1 |   1 |   1  
  Cleaned          |    0 |   0 |   0 |   0 |   0 |   0 |    0 |   0 |   0 |   0 |   0 |   0 |   0  

and when I look at the contents of public/en itโ€™s clear that itโ€™s just writing all output to the en folder.

This is currently under the sitemap table. It needs to be in the root table.

If you still need assistance, feel free to share your repository privately.

Also, get into the habit of doing something = true instead of something = "true". The true/false values are booleans, not strings.

Quite right. I moved those values up:

# https://gohugo.io/getting-started/configuration/
# In local "development" builds, baseURL is always switched to localhost
# For "production" of the site, AWS Amplify deploys with "environment" - see the production/config.toml for overrides
baseURL = "[redacted]"
title = "Rhinoceros - Modeling Tools for Designers"
assetDir = "static"
defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = true
timeout = 60000
theme = "rhino3d.com-theme"
metaDataFormat = "toml"
disable404 = "true" # we custom generate our 404 page based on a template for localization purposes
enableGitInfo = "true"
disableKinds = ["RSS"]
buildFuture = "true"

but I get the same result.

Good point. I should clean that up. Iโ€™ll see if it has an impact on this issue.

It doesnโ€™t.

Also, this is currently under the highlight table. It probably belongs under params; consult your themeโ€™s docs.

1 Like

If you still need assistance, feel free to share your repository privately.

I just noticed that your site configuration is fouled up in a few places. Please post latest version.

Thanks Joe, I replied in a PM. We appreciate the help. Hugo is great.

1 Like