-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module menus not respected #12584
Comments
There's two aspects of this:
|
@bep thank you for the response. From your perspective, what changes should I apply to hugo.yaml, in order to achieve the intended result? I even tried changing from The navbar.html template uses a |
With merge strategy So, if you have project -> module1 -> module2 And
We use project.{a,b}, module1.b and module2.d. I'm pretty sure that works as described. |
@bep I'm still not sure what changes I need to perform, in order to achieve the scoped end-results. Right now I have the following mounts on /project/hugo.yaml module:
While executing the build command at the root of repository:
The end-result should be:
|
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
Current Issue
I've been struggling with this issue for a while, without any resolution. The discussion started on forums did not yield any positive outcome, so I'm reaching at Hugo developers, to determine if my end-goal is achievable with Hugo.
My current Hugo website consists of following files structure, see testing repository:
My goal is to have specific website titles and menus imported from Hugo modules, at build time. In other words, when I build the website, I expect the following end-result:
/docs
should display the menus present into /docs/hugo.yaml/docs/project
should display the menus present into /project/hugo.yamlThank you for providing feedback to my current issue.
The text was updated successfully, but these errors were encountered: