html-minimalist-0.14: Minimalist haskell html library
Text.HTML.Light.Composite.Menu
Description
Menu constructors.
Synopsis
type Menu_Entry = (String, String, Maybe String)Source
A menu entry is (name,identifier,link).
type Menu_P = [Content] -> [Content]Source
type Menu_C = Menu_P -> String -> [Menu_Entry] -> String -> ContentSource
Menu constructor.
nav_menu :: Element_C -> Element_C -> Menu_CSource
nav_menu_list :: Menu_CSource
Make a nav menu of class ty with a ul structure. The entry corresponding to identifier h is marked with the class here.
nav
ul
here
nav_menu_span :: Menu_CSource
Variant of nav_menu_list using span elements.
nav_menu_list
span