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.