[webgen-users] Menu - labels
Odd Arild Olsen
oao at oao.no
Fri Jan 4 12:43:58 EST 2008
I tried the directoryName way, works fine. I started with webgen yesterday.
Thank you, now I understand the purpose of directoryName too.
On Friday 04 January 2008, Thomas Leitner wrote:
> On Fri, 4 Jan 2008 09:08:12 +0100
> Odd Arild Olsen <oao at oao.no> wrote:
> > Webgen uses file paths to generate multilevel menues, bread crumbs
> > etc. And limits the character range in paths to a-zA-Z. As the
> > directory names are used verbatim as menu labels this is fairly
> > limitting for non-english pages. Is there a way to map directory
> > names to configurable UTF8 strings for menu labels?
> You can set arbitrary titles for directories in two ways:
> * set the meta information `directoryName` in the index files (one
> index file for each language) of the directory
> * set the meta information `title` directly on the directory using the
> meta information backing file (`metainfo.yaml`, needs to be in the
> website directory). However, you can't set a localized title this way.
> For example:
> directoryName: Website Root
> directoryName: Website Wurzel
> title: Unlocalized Title
> Hope that helps!
> -- Thomas
> webgen-users mailing list
> webgen-users at rubyforge.org
More information about the webgen-users