html-minimalist-0.15: 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 -> Content Source
Menu constructor.
nav_menu :: Element_C -> Element_C -> Menu_C Source
nav_menu_list :: Menu_C Source
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_C Source
Variant of nav_menu_list using span elements.
nav_menu_list
span