Hi all,
I’m trying to create new pages in submenu (dropdown), so that at each time I click on a submenu the page opens.
How can I create new pages from dropdown? I know there’s another solution using collections, but that is independent from my problem since I’m dealing with submenus.
More precisely, I have this file in _pages called dropdown.md that contains the following:
---
layout: page
title: parent
nav: true
nav_order: 7
dropdown: true
children:
- title: child1
- permalink: "/root1"
- title: child2
- permalink: "/root2/"
---
How can I create new pages from dropdown? I assume from root2 I should add a file in _layouts that complete the create of the webpage?
Thanks,