[FEATURE] Add non-wrapping mode for menus

This patch adds automatic wrapping of menus' links into <nav/> tags instead of lists for minimalistic HTML5 rendering