You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use {{% children depth="999" %}} in the root /_index.md, I get:
foo
foo_one
foo_two
bar
bar_one
bar_two
foo_one
foo_two
bar_one
bar_two
That is, the sub-levels are repeated at the end of the menu as if they were top-levels.
This doesn't happen if the shortcode is not at the root level (i.e. inside foo/_index-md) or if page is set to a specific section.
Using up-to-date docdock and hugo v0.54.0/extended
I think it may be related to #142, though that's marked as solved.
The text was updated successfully, but these errors were encountered:
@roccadev#142 is marked as solved because we found ways to tweak the shortcode to do what we want, and because it wasn't really a problem with that version of Hugo.
I suggested trying the tweaks listed there and seeing if you get your desired result.
I have a structure like:
If I use
{{% children depth="999" %}}
in the root /_index.md, I get:That is, the sub-levels are repeated at the end of the menu as if they were top-levels.
This doesn't happen if the shortcode is not at the root level (i.e. inside
foo/_index-md
) or ifpage
is set to a specific section.Using up-to-date docdock and hugo v0.54.0/extended
I think it may be related to #142, though that's marked as solved.
The text was updated successfully, but these errors were encountered: