templates: Add a proper menu and navigation
This commit is contained in:
parent
0bb7f99fa3
commit
a00195be16
76 changed files with 336 additions and 233 deletions
|
|
@ -26,6 +26,10 @@ type Routes struct {
|
|||
// MatchAllDomains indicates that all domains, even the non-default domain, should be matched
|
||||
MatchAllDomains bool
|
||||
|
||||
// MenuTitle and MenuPriority return the priority and title of this menu item
|
||||
MenuTitle string
|
||||
MenuPriority MenuPriority
|
||||
|
||||
// Exact indicates that only the exact prefix, as opposed to any sub-paths, are matched.
|
||||
// Trailing '/'s are automatically trimmed, even with an exact match.
|
||||
Exact bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue