Replies: 5 comments 3 replies
-
To be honest, I don't have much experience with multi-directory setup. |
Beta Was this translation helpful? Give feedback.
-
@imfing I made some progress, see this PR with the related fixes. If I create the Also, the menus show correctly into sidebar, but they don't load into top navbar. I would expect to have the top bar title and menus loaded from /k3s-cluster/hugo.yaml, but instead, they are loaded from /docs/hugo.yaml: |
Beta Was this translation helpful? Give feedback.
-
@imfing looking at https://github.com/imfing/hextra/blob/main/layouts/hextra-home.html, I see you defined in there the following condition:
I don't understand where the |
Beta Was this translation helpful? Give feedback.
-
@imfing I would appreciate if you can take few minutes of your time to help me understand how I disable the sidebar. I don't understand how this is done for hextra-home.html. |
Beta Was this translation helpful? Give feedback.
-
Hi @imfing,
I've struggling to find a proper solution for my problem, without much success. My goal is to use Hextra with the following design pattern:
Each project will have different menus and must also a dedicated
hextra-home
page. To understand better what I mean, please visit the currently deployed website. The only way I managed to achieve the expected results, was by building Hextra for each directory, which introduces files duplication into/public
directory, icons, sitemap, etc.See my repository files structure, for more details:
Related to
hextra-home
page into sub-directories, I could customize thesingle.html
file, but that will block me to use it on sub-directories. So I need to be able to use the actualhextra-home
template into each sub-directory.Another issue I'm facing is the ability to have specific menus, per sub-directory. Check the deployed website, you can see specific menus defined. In real like, with Hugo, all you have to do is set the module mounts into
/docs
and everything works. This solution does not applies to me, unfortunately.I'm wondering if you have any suggestions, I'm trying to find a proper solution for this, for over a week.
Beta Was this translation helpful? Give feedback.
All reactions