I've copied several folders inside the path content/pages. After running the pelican content command, I get the html files converted under the output folder where all the html files are copied under output/pages as a whole.
For ex:
If I have the folder structure:
content
- pages
- hello
- hello.html
- world
- world.html
I get the output as:
output
- pages
- hello.html
- world.html
I need to retain the original folder structure in the output folder.
The USE_FOLDER_AS_CATEGORY = True option didn't work. Apparently, it works only for Articles not for pages.
Is there any other way to build the folder structure?
I believe the following plugin was designed for the exact use case you described: https://github.com/akhayyat/pelican-page-hierarchy