khufu.navigation.nav_list module

nav_list(itemList=[], pull=False, onPhone=True, onTablet=True, onDesktop=True)[source]

Create an html list of navigation items from the required python list

Key Arguments

  • itemList – items to be included in the navigation list

  • pull – float the nav-list [ False | ‘right’ | ‘left’ ]

  • onPhone – does this container get displayed on a phone sized screen

  • onTablet – does this container get displayed on a tablet sized screen

  • onDesktop – does this container get displayed on a desktop sized screen

Return

  • navList