Add support for tabs
This commit is contained in:
parent
7b5f8a9882
commit
207e23778b
6 changed files with 50 additions and 12 deletions
|
|
@ -12,10 +12,12 @@ type Menuable interface {
|
|||
|
||||
Menu(r *http.Request) []MenuItem
|
||||
}
|
||||
|
||||
// MenuItem represents an item inside the menu
|
||||
type MenuItem struct {
|
||||
Title string
|
||||
Path template.URL
|
||||
Active bool
|
||||
Active bool // Active, only used for tabs and crumbs
|
||||
|
||||
Priority MenuPriority
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue