I’m new to Hugo, so I apologize in advance if this topic is trivial. I have a very specific website design, with what I call projects
as root sub-directories, each unique on their menu structure, content, etc., but all sharing the same Hextra theme.
In this PR, I’m importing the content from /k3s-cluster
, into /docs
and everything works as expected. I’m trying to determine the root cause why when I visit http://localhost:1313/k3s-cluster/
:
- I cannot disable the sidebar
- Top navbar title and menus are loaded from
/docs/hugo.yaml
, instead of/k3s-cluster/hugo.yaml
Please see below the detailed screenshots.
Directory structure:
.
├── docs -- FRONTPAGE
│ ├── content
│ ├── resources
│ └── static
├── global -- MODULE, imported into /docs and /k3s-cluster
│ ├── i18n
│ ├── layouts
│ └── static
├── k3s-cluster -- PROJECT
│ ├── content
│ ├── resources
│ └── static
└── public -- FRONTPAGE
├── categories
├── css
├── images
├── js
├── k3s-cluster -- PROJECT
├── lib
└── tags