Hi Thomas!
Please consider this webgen tree:
/
about.en.html
default.template
index.en.html
subdir1/
another.en.html
index.en.html
templates/
tag.template
I'd like to display a menu containing all items on level 1 and the "index" pages of each subdirectory on level 2, e.g.:
about
index
subdir1
This was the menu I got in webgen 0.5. However in webgen 1.0.0 when I use this menu definition on the "about" page:
{menu: {options: {mi: {in_menu: true}, sort: true, siblings: [0,-1]}}}
I get to see the menu:
about
index
subdir1 is missing because it is on level 2 and is not a sibling of the items on level 1. When using
{menu: {options: {mi: {in_menu: true}, sort: true}}}
I get the menu:
Subdir1
another
index
about
index
But that's not what I want either. The items below subdir1 should only show up in the menu of pages in that subdir. Last attempt:
{menu: {options: {sort: true, siblings: [0,-1]}}}
/
Default
Images
Stylesheets
Subdir1
Templates
about
index
What am I doing wrong?
Thank you!
Kind regards,
Christoph Dwertmann