Multilingual HOME page menu item

Hello guys,

I have a multilingual website.

In my config.toml there is English Home menu item that looks like

  home = "Home"

that points to localhost:1313
But I also have Russian Home menu item that looks like

  home = "Главная"

that also points to English Home page.
I can’t find a solution for this menu item to point to /ru/ section of the website.

If I try

"home/ru/" = "Главная"

or anything else - the menu item disappears altogether.

Maybe someone can tell me how to point to that page that’s located at localhost:1313/ru/

Thank you in advance!


Does this piece of code work for you?


  weight = 1


      name = "Home"
      url = "/"
      weight = 1

  weight = 2


      name = "Главная"
      url = "/"
      weight = 1

No. The menu works only if there is “home” in the left part of the equasion.

home = "Главная"

If there is anything (!) else - the menu item “Главная” disappears.

I don’t know where the home key comes from.

The code I posted above is working for me.

Do you have a repo you can link to?

I don’t have the repo, but I did grep looking for “home” definition across the whole site and found only these lines relevant:

./env/lib/python3.6/site-packages/setuptools/    """Find rel="homepage" and rel="download" links in `page`, yielding URLs"""
./env/lib/python3.6/site-packages/setuptools/        if 'homepage' in rels or 'download' in rels:
./env/lib/python3.6/site-packages/setuptools/        'home_page': 'url',
./env/lib/python3.6/site-packages/setuptools/    def __init__(self, name, requested_version, module, homepage='',

@bep should know where home is defined.