Move get_nav_menu to general-template functions