How to place a menu item for posts in a non-default position in the menu tree?

My content/posts/_index.md contains:

menu:
  after:
    name: blog
    weight: 5
title: Blog

This create a menu item Blog as the last item in the top level of the menu automatically built from the tree of files in content/docs. However, I want the Blog menu item to appear in a sub-tree of the menu (under the pages described in content/docs/resources). This must be possible, but I’m not sure where to look in the documentation.

I’m using hugo v0.102.3+extended.

I suspect you are using the hugo-book theme. If true, please raise an issue with the author of the theme.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.