github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/docs/content/en/readfiles/menuvars.md (about)

     1  `.URL`
     2  : string
     3  
     4  `.Name`
     5  : string
     6  
     7  `.Menu`
     8  : string
     9  
    10  `.Identifier`
    11  : string
    12  
    13  `.Pre`
    14  : template.HTML
    15  
    16  `.Post`
    17  : template.HTML
    18  
    19  `.Weight`
    20  : int
    21  
    22  `.Parent`
    23  : string
    24  
    25  `.Children`
    26  : Menu
    27  
    28  Note that menus also have the following functions available as well:
    29  
    30  [`.HasChildren`](/functions/haschildren/)
    31  : boolean
    32  
    33  Additionally, there are some relevant functions available to menus on a page:
    34  
    35  [`.IsMenuCurrent`](/functions/ismenucurrent/)
    36  : (menu string, menuEntry *MenuEntry ) boolean
    37  
    38  [`.HasMenuCurrent`](/functions/hasmenucurrent/)
    39  : (menu string, menuEntry *MenuEntry) boolean