Skip to content

Make menu items detectable as active

Phu Nguyen requested to merge work/i18n into master

Menu items declared in the site config don't have a Page reference which is needed to determine the active menu in the menu bar.

  • Put menu items into content files;
  • Only remove /about-kate and /get-it from the site config, other menu items will be recognized as duplicate. This is to make these menu items detectable as active while still keeping their translated texts. When respective files are made translatable, these menu items can be removed;
  • Texts of /kate-vi-mode and /syntax are changed so that the menu items are duplicated, instead of being different ones.

Merge request reports

Loading