Andrea Censi
2007-Mar-05 22:05 UTC
[webgen-users] Changing the order in the menu for a directory
I find the file metaconfig.yaml very useful and I use it for setting
the title and order of files.
However, I can''t find a way to change the order of a directory.
Consider the file layout:
index.page
dir/sub1.page
I want to choose whether the order in the menu is [index,dir] or [dir, index].
I tried with:
dir/:
orderInfo: 1
or
dir:
orderInfo: 1
or other variations, and I couldn''t find a way.
--
Andrea Censi
"Life is too important to be taken seriously" (Oscar Wilde)
Web: http://www.dis.uniroma1.it/~censi
Thomas Leitner
2007-Mar-06 10:32 UTC
[webgen-users] Changing the order in the menu for a directory
On 05.03.2007, at 23:05, Andrea Censi wrote:> I find the file metaconfig.yaml very useful and I use it for setting > the title and order of files. > > However, I can''t find a way to change the order of a directory. > Consider the file layout: > > index.page > dir/sub1.page > > > I want to choose whether the order in the menu is [index,dir] or > [dir, index]. > > I tried with: > > dir/: > orderInfo: 1 > > or > > dir: > orderInfo: 1 > > or other variations, and I couldn''t find a way.When using orderInfo, you need to set it for all menu items (default orderInfo is 0). For example index.page: orderInfo: 1 dir/: orderInfo: 2 This works! Be sure to name the metainfo.yaml and not metaconfig.yaml! Bye, Thomas