You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to configure NAVIGATION_ALT_LINKS and found that the element order was shown different almost everytime I saved conf.py. I had no problems with NAVIGATION_LINKS, so I created a new site for expermentation and found that default conf.py has this:
DEFAULT_LANG is created as a tuple in NAVIGATION_LINKS, so it keeps the element order and as a dictionary in NAVIGATION_ALT_LINKS. Dictionaries don't keep the element order. Maybe it's enough to change the code in line 91-93 in conf.py.in to
NAVIGATION_ALT_LINKS= {
DEFAULT_LANG: ()
}
because it does not perform any variable substitution.
The text was updated successfully, but these errors were encountered:
Environment
Python Version:
Python 3.7.3
Nikola Version:
Nikola v8.0.2
Operating System:
macOS 10.13.6 (High Sierra)
Description:
I was trying to configure NAVIGATION_ALT_LINKS and found that the element order was shown different almost everytime I saved conf.py. I had no problems with NAVIGATION_LINKS, so I created a new site for expermentation and found that default conf.py has this:
DEFAULT_LANG is created as a tuple in NAVIGATION_LINKS, so it keeps the element order and as a dictionary in NAVIGATION_ALT_LINKS. Dictionaries don't keep the element order. Maybe it's enough to change the code in line 91-93 in conf.py.in to
because it does not perform any variable substitution.
The text was updated successfully, but these errors were encountered: