--- title: Children description: Returns a collection of child menu entries, if any, under the given menu entry. categories: [] keywords: [] action: related: - methods/menu-entry/HasChildren returnType: navigation.Menu signatures: [MENUENTRY.Children] --- Use the `Children` method when rendering a nested menu. With this site configuration: {{< code-toggle file=hugo >}} [[menus.main]] name = 'Products' pageRef = '/product' weight = 10 [[menus.main]] name = 'Product 1' pageRef = '/products/product-1' parent = 'Products' weight = 1 [[menus.main]] name = 'Product 2' pageRef = '/products/product-2' parent = 'Products' weight = 2 {{< /code-toggle >}} And this template: ```go-html-template ``` Hugo renders this HTML: ```html ```